Re: Re: I am probably dumb but why isn't this inserting stuff into my DB?

From: Date: Sat, 06 Jul 2002 03:16:00 +0000
Subject: Re: Re: I am probably dumb but why isn't this inserting stuff into my DB?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-105790@lists.php.net to get a copy of this message
On Saturday 06 July 2002 11:12, JJ Harrison wrote: > Here it is then: [snip] > > $query = "INSERT INTO tececo_stats values ('', $id, $visited, $time, > $remote_dns, $remote_ip, $referer, $browser, $system)"; echo $query; > mysql_query($query); echo mysql_error(); And RFTM for examples on how to incorporate error checking in your db operations. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Any sufficiently advanced technology is indistinguishable from magic. -- Arthur C. Clarke */

« previous php.general (#105790) next »