How do you create a form dropdown from a database table in PHP Server Side Scripting Language?

editAnswer

reportReport

Answer(s) available: 1

Sanobar Soman

, Petroleum Refinery Operator, Graphic Design Merchandising

"

Problem solved. It was because in the query I had order before where. It should have been:

"
$qry = "select *   "
             from   school"
             where display = 'Y'"
             order by name, id";"
"

Not:

"
 $qry = "select *   "
             from   school"
             order by name, id"
             where display = 'Y'";"
"

thumb_upUpvote14

smsComment

reportReport