1
vote
Accepted
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".
1
vote
Accepted
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 <...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dropdown × 8pset7 × 5
sell × 4
finance × 1
pset8 × 1
python × 1
final-project × 1
php × 1
javascript × 1
pset9 × 1
final × 1
input × 1
typeahead × 1
sell-form.php × 1