Originally posted by monkeyface
So if u get users referrer, u need to look in the database if it already exists and if yes then increase the value with 1. if not then.... here i am stuck help!
IF you have one, just what HalfaBee said, otherwise
BTW, best not to use count as a field name. Yet another reserved SQL word.
INSERT INTO table (refCount, refferer) VALUES ('1', '".$refererURL."');