Re: [PHP] track click throughs

2004-07-16 Thread Daniel Kullik
mysql_query() should return a boolean true if your insert-query works. Check that. [code] print (mysql_query('insert bla...')) ? '(-:' : ')-:'; die(); [/code] Cab wrote: Ed, Sorry it redirects now but on checking the database is no longer being updated? require_once('/home/virtual//var/www/cgi-bin

Re: [PHP] track click throughs

2004-07-15 Thread cab
Ed, Sorry it redirects now but on checking the database is no longer being updated? /var/www/cgi-bin/Connections/DB_connection _script.php'); $newUserTracking = mysql_query("INSERT INTO track (user,type) VALUES (' ','Join')"); Header("Location: https://secure.ibill.com/cgi-win/ccard/rscookie.ex

Re: [PHP] track click throughs

2004-07-15 Thread cab
Ed, Thank you found it with your help. Cheers Col "Ed Lazor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Check the script that records the click. It shouldn't have any output, > spaces, or extra lines before or after > > > > > -Original Message- > > From: cab [mailto:

Re: [PHP] track click throughs

2004-07-15 Thread Curt Zirzow
* Thus wrote cab: > Hi, > > newbie question > > I have a linked image, I want to track the users/times the image has been > clicked. > > I've set up another .php page that populates a database with the click, then > I wanted to: > Header("Location: http://someothersite "); > > but I get the l

RE: [PHP] track click throughs

2004-07-15 Thread Ed Lazor
Check the script that records the click. It shouldn't have any output, spaces, or extra lines before or after > -Original Message- > From: cab [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 9:39 PM > To: [EMAIL PROTECTED] > Subject: [PHP] track click throughs > > Hi, > > n