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
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to