Posts by Victor S. • 11 points
3 posts
-
0
votes3
answers1169
viewsA: How to store the data in a variable and then use a query?
You can use the fetch_assoc() function of mysqli to fetch database data: $sql = "SELECT * FROM <nome_da_tabela> WHERE tabela_nome_do_medico = <nome_do_medico>"; $res =…
-
1
votes2
answers676
viewsA: Add elements to a list
Try using Ajax and COOKIES, you create a PHP file that adds the requests to the list (that would be the cookie) and puts a javascript function that calls this file via ajax on the button "OK", takes…
-
0
votes1
answer107
viewsQ: What is the best way to translate PHP projects?
I finished a course site these days, and one of the requirements was to have support for at least 3 languages, after searching a while I saw that a very recommended method was to create the same…