Skip to main content
1 vote
Accepted

Take input as number from a html input field

VALUES is a reserved word in mysql (full list here); used only in INSERT syntax. CS50::query replaces all '?' with the values sent as arguments. Let's assume id is 1, symbol is X and shares is 20. ...
DinoCoderSaurus's user avatar
1 vote

pset7 problem with buy and portfolios table

Without seeing the details of your user table, or knowing if you have any foreign keys to that table, I can't be sure, but I'm fairly confident that your problem is in your primary key. I'm guessing ...
Cliff B's user avatar
  • 69k

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