09-16-2000, 10:29 PM
I started talking about an affilaite program thing in chit chat but as i thought about i have a more specific idea so thought i would add it here. Hope that is ok.
What I want to know if i can do, is, after a person posts to check the mySQL database to see how many posts that person has made. If that person has made say 100 posts I want the the next page (the "thank you for posting" bit page to load an image of the form
<img src="http://www.domain.com/cgi-bin/script.cgi?posts=100&extra=$id">
if you see what i mean. So I would need an if, elseif type statmement. Is this possible. Finally, the $id i want is going to be 1 of the fields in the user's profile so I also want to be able to "call that".
Is this possible? Where do I start. Thanks
What I want to know if i can do, is, after a person posts to check the mySQL database to see how many posts that person has made. If that person has made say 100 posts I want the the next page (the "thank you for posting" bit page to load an image of the form
<img src="http://www.domain.com/cgi-bin/script.cgi?posts=100&extra=$id">
if you see what i mean. So I would need an if, elseif type statmement. Is this possible. Finally, the $id i want is going to be 1 of the fields in the user's profile so I also want to be able to "call that".
Is this possible? Where do I start. Thanks