Re: why doesn't this add
| From: | Jason Wong | Date: | Mon, 26 May 2003 05:33:12 +0000 |
| Subject: | Re: why doesn't this add | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148952@lists.php.net to get a copy of this message | ||
On Monday 26 May 2003 08:50, David McGlone wrote:
> $sql_query = "INSERT INTO tshirts VALUES ('' ,
> '$_POST['mylink']')";
Have you checked that $sql_query contains what you expect it to contain?
> $result = mysql_query($sql_query);
$result = mysql_query($sql_query) OR die(mysql_error());
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A child of five could understand this! Fetch me a child of five.
*/