Hi,
Sorry guys i'm kind of new to PHP, and I need help inserting a value into the database, I have the following code:
What the code is supposed to do is when the first radio button is checked and the submit button is clicked, it should randomly select if the action "jacking or robbing" has failed or succeeded, if it has succeeded it should give a random number between 0 and 400, and add it into the database to a field called 'money' and display a message in the browser saying 'You have successfully jacked her.... etc', and if it has failed then just display the message 'You have failed to jack her.. etc'.
But with the code I already have, this isn't working and I don't know why.
Can anybody help?
- Kiran.