How can I make a MySQL variable which is a number that can increase or decrease from a PHP code, such as $number-10
or something? I need this variable to be in the database so each user on my site can have there own unique number.[/b]
The index column of your table should have an Autonumber column. After you insert a column, the row will be available using mysql_insert_id
[phpref]mysql_insert_id[/phpref]