Posted by csj on 10/24/65 11:40
I'm having a problem with my PHP script.
When the user arrives on my page there is an item for sale for them to
buy.
The user already has 200 points stored in their database row. I want
it work so that when the user clicks on the "buy" button(only then)
an mysql query is executed to update there points.
I thought of using an "if (isset ($_POST['submit'])) {...."
script, but I don't know what to make the else part of the statement +
I can't get it to work.
If anybody knows what I'm talking about then please help me. Can I
user the If statement or is there something better/easier to use?
Thanks
http://eye.cc php newsgroups
[Back to original message]
|