The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Drop Down Executes Query On Post? Reply To: Drop Down Executes Query On Post?


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.

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))