Posts by Ian Gabriel • 5 points
1 post
-
-2
votes2
answers263
viewsQ: Assign a database value to a php variable
the variable $query appears to be empty as it adds no value in the database. Where am I going wrong? $aVar = mysqli_connect('localhost'); $query = mysqli_query($aVar, "SELECT MAX(id_evento) FROM…
phpasked Ian Gabriel 5