i think you are not complete with your posts.....
Please provide your thread clearly...
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
i don't understand what do you want???
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
you want add 1 to number or update number field with 1
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
then write qury like:
$result="update turf_table set number=(number+1) where id='.$name.'";
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
just echo this query like..
echo $result="update turf_table set number=(number+1) where name='.$name.'";
exit;
and copy and paste that query at your database..
tel me what you got there....
or post your table structure...
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162