Jump to content

TheKizz

New Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

TheKizz's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ahh thanks, it works now. Although I don't get this one little bit, what does this mean? That part..?
  2. Okay, i've done that. It displays the string correctly and amount. No, but it doesn't update the database data.
  3. Okay, thanks i've done that. But it still doesn't work, it says I have been successful but it doesn't display or give an amount. That's what gets displayed.
  4. I just removed that line, and yes I am. It just displays: When I select the radiobox and click submit.
  5. 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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.