Home › Forums › Back End › Drop Down Executes Query On Post? › Reply To: Drop Down Executes Query On Post?
May 19, 2014 at 6:18 pm
#170629
Participant
Thanks for the reply. I changed the name :
<select name="value">
When I click submit the screen refreshes so it seems to be connecting to the database and maybe executing something but nothing is displayed.
https://gist.github.com/gyprosetti/9e1d1465362fddb2f9f1
What do you suggest instead of :
WHILE($board = mysql_fetch_array($result)):
I’ve looked at mysqli_fetch_array but don’t know how to incorporate it within the if statement.
if ($result=mysqli_query($con,$sql))