Posts by Eli Lopes • 1 point
3 posts
-
0
votes2
answers94
viewsA: php’s difficulty getting select text fed with javascript and json
I got the solution by joining two procedures (getjson + baroque switch case method) Choosing in select "regions" feeds select "programs" with getjson: $(document).ready(function(){…
-
0
votes4
answers24249
viewsA: What is the right way to connect to the Mysqli database
If you want to test the connection and display a message with Ok button $con = mysqli_connect("localhost", "root", "", "dbname"); if(!$con){ die("Falha na conexao: " . mysqli_connect_error());…
-
-2
votes2
answers94
viewsQ: php’s difficulty getting select text fed with javascript and json
The javascript code below fills in the select "regions" (id) options of the json file "list-region-programs-municipio". But in the html form this fills the value with ID value in json. And if you…