Skip to main content
1 vote

pset7 sell: can not make drop down menu work

Just after I posted a question i got it. I should put all data manipulations under else from request.method == "POST".
andy's user avatar
  • 11
1 vote

Drop down list using database values in PHP - Doesn't work - Final project

This is sketchy: foreach($result as $result): ?> because the var names are the same (and I'm not sure about : in php). Wouldn't the proper syntax here <option value="$result["name"]"> be <...
DinoCoderSaurus's user avatar
1 vote

Drop-down Menu for Sell_View.PHP gives empty options

How are you passing the php variable from your controller to your viewing page (sell page)? You are storing the array returned by your mysql query in $symbol, but it looks like you are passing $stocks ...
ronga's user avatar
  • 1,415

Only top scored, non community-wiki answers of a minimum length are eligible