Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
683 views

CS50 Finance - How to add to cash

I want to make it so the user can essentially add $10,000 to their current balance. To do this, I made a user with id 26 that has $10,000. I want to add user26's funds to the current user's funds to ...
K. Rich's user avatar
  • 11
0 votes
1 answer
292 views

What is wrong with this SQL command?

query("INSERT INTO stocks (id, symbol, shares) VALUES($_SESSION["id"], $_POST["symbol"], $_POST["number"]) ON DUPLICATE KEY UPDATE shares = shares + VALUES(shares)"); I am getting this error Parse ...
Muneeb Hussain's user avatar