Page 1 of 1
Add/Delete Amounts from an entrie...
Posted: Thu Jul 08, 2004 1:27 am
by monkeyj
I'm working on making a conversion from a number of forum posts.. to convert the posts into a (credit) of value = to the posts...
And.. I kept looking and looking to see If I could find the script that adds +1 to their posts entrie when they submit a forum post..
but I couldn't find it..
So, now I'm stuck..
~monkeyj
Posted: Thu Jul 08, 2004 1:28 am
by monkeyj
oh.. from the MySQL Entry itself...
Posted: Thu Jul 08, 2004 1:30 am
by PrObLeM
Code: Select all
"UPDATE table SET postcount='postcount+1' WHERE userid='".$idnumber."'";
Posted: Thu Jul 08, 2004 1:36 am
by monkeyj
:-/ Probably didn't say what I meant correctly...
Not the actual MySQL Querie thingy...
Ummm
Like.. I want a php page...
with..
"Enter amount of posts to redeem here:"
(enter here)
>>Convert to Credit Points!<<
Then.. when they push Convert.. the amount they entered.. takes away from their post..
and then gives them a certain amount of Credit Points determining how many posts they entered...
Posted: Thu Jul 08, 2004 1:38 am
by monkeyj
The fields are setup and ready in the MySQL table for my forums.. just don't know how to add/delete without manually changing the table...