Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding to a database

Status
Not open for further replies.

martinb7

Programmer
Jan 5, 2003
235
GB
i hav an affiliates system. Website | traffic from us | 2us

i was wondering how do you make it plus 1 to the traffic from us column in the database if someone clicks on the link??
 
and not to forget
update <tablename> set <columname> = <columnname> + 1
where <key> = ID

otherwise all your links are incremented ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top