Posts by Isac Moura • 103 points
5 posts
-
0
votes1
answer128
viewsQ: Recover city from database id
I’m getting information from a select, which pulls the states and cities registered in the database. In the value of each select (city and state) is their id in the table (only this way to work with…
-
0
votes2
answers268
viewsA: Database does not save data in php, although no error returns
It can be incompatibility of types in your table. Ex: trying to insert a varchar in an int, make sure that’s not it. If not, use the function mysqli_error. $res=mysqli_query($con,$insere) or die…
-
0
votes3
answers379
viewsA: Problem with onkeyup input
I was able to follow the hint to put a condition, but it didn’t work with Return false, I was able to pass null to the div#resultado. For those with the same problem, follow the code: else{…
-
0
votes3
answers379
viewsQ: Problem with onkeyup input
I made a small Javascript function to make a dynamic search in the database without giving refresh and it’s working, but I think there’s a problem with onkeyup. When inserting text into field input…
-
0
votes3
answers118
viewsQ: Logic for using foreign key - a user’s notes
I am aware of a problem in the use of foreign key. I cannot find the logic for a system: The problem: the user gives a note for each question, each one being a table field, and at the end the…