Posts by Matheus • 165 points
17 posts
-
1
votes0
answers45
viewsQ: Form of insertion into accordion in multiple items with AJAX
Hi, I’m trying to make a requisition for updating item of accordion in the mysql, but only one item is updated. The code works as follows: Sample of Code 1, creates the cards within the modal. Each…
-
-6
votes2
answers415
viewsQ: Search in the database with select
I am developing a website to display registered videos, for this I did with a select to select the desired discipline of the user. Soon after I put a button to display these registered videos…
-
-1
votes2
answers31
viewsQ: "Hide" div by default
Good afternoon, I am developing a site for access to videos about disciplines, I want to make when selecting a discipline appear the buttons of the image below. Next to this select, I made two…
-
-3
votes1
answer161
viewsQ: Verification of videos per user
I’m developing a website to show videos inserted by users. For that I did with you: $(document).ready(function () { var videoContainer_monitor = $("#video_monitor"); var codigoVideo_monitor =…
-
0
votes1
answer42
viewsQ: Send user name in SESSION with form
I am sending a form as follows: After uploading the video, I would like the uploaded video table to include the name of the uploaded user as well. I tried with post and get method as follows:…
-
0
votes1
answer37
viewsQ: Remove part of data entered by the user
I am developing a website for sending videos to teachers, for this, I made a form with the following fields: Considering I’m still learning PHP. I would like to know if it is possible to have the…
-
2
votes1
answer50
viewsQ: Verification error (if)
I am developing a system to send videos to a database, for this, too, I want to send complementary materials in mysql. Inside the html form, you find: <div class="form-group ml-0 pl-0 mt-4">…
-
0
votes1
answer45
viewsA: Problems with comparison operators
if((empty($_SESSION['email'])) || (empty($_SESSION['senha'])) || (empty($_SESSION['tipo']))){ header("Location: index.php"); }else{ if($_SESSION['tipo'] != "1"){ header("Location: index.php"); } }…
-
0
votes1
answer45
viewsQ: Problems with comparison operators
I am developing a site, and it has levels of login access, being "1" == "Student", "2" == "Teacher" and so on... I tried to make a system so that if the user is not logged in email and password, he…
-
2
votes1
answer356
viewsQ: Insert embed video with mysql
Good afternoon, I am developing a website to simplify the search for educational videos for my TCC. I made a system with two combo box to search the disciplines in the database and the contents,…
-
2
votes1
answer325
viewsA: Login with verification of two tables
Problem solved as follows. I created a users table to generalize all registered in the system, so. I was assigned a new field with the name "type" to determine what would be the function of the user…
-
5
votes1
answer325
viewsQ: Login with verification of two tables
Good afternoon, I’m developing a site, and I’m having a lot of doubts lately, it’s for my tcc and they help little. I made a system to register the user being a student or teacher with Mysql, in…
-
0
votes1
answer397
viewsQ: Query mysql username in php
Good afternoon, I am developing a website for my TCC, I am still apprentice in developing sites with php. I’m trying to get the user to enter your page to receive welcome with your name searched in…
-
0
votes1
answer48
viewsQ: Doubt with login validation
Good morning, I am developing a site for my TCC, and in it I try to make a login system with validation of user by levels. Let’s assume if the user is administrator, when logging in he will check in…
-
1
votes1
answer660
viewsQ: Open modal after form Ubmit
Good afternoon, I am developing a login system, that if the user enters the password or incorrect email, appears in a modal window that the data does not match the typed, but when the password or…
-
0
votes1
answer49
viewsA: Error with PHP code
According to the error, I solved the first and the second, but the message is not displayed to the end user. Follow the updated html part code, solved problem!: HTML: <?php…
-
-1
votes1
answer49
viewsQ: Error with PHP code
Good evening, I am developing a login system, but the message system when typing incorrect email or password is giving error. Some changes were made in my previous post, but the problem was not…