Re: RES: [PHP] CURL problems still
| From: | Miller, Terion | Date: | Mon, 11 May 2009 20:01:50 +0000 |
| Subject: | Re: RES: [PHP] CURL problems still | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292460@lists.php.net to get a copy of this message | ||
The error I get is from my INSERT statement ....
It does insert the records up to C page though...
The problem area:
// Build your INSERT statement here $query = "INSERT into warrants (wid, name,
age, warrant, bond, wnumber, crime) VALUES ("; $query .= " '$wid',
'$name', '$age', '$warrant', '$bond', '$wnumber',
'$crime' )"; $wid = mysql_insert_id(); echo $query;
// run query mysql_query($query) or die (mysql_error());
The Error message
Notice: Undefined variable: wid in
/var/www/vhosts/getpublished.news-leader..com/httpdocs/Warrants/loopScrape1.php on line 124
Notice: Undefined variable: name in
/var/www/vhosts/getpublished.news-leader.com/httpdocs/Warrants/loopScrape1.php on line 124
Notice: Undefined variable: age in
/var/www/vhosts/getpublished.news-leader..com/httpdocs/Warrants/loopScrape1.php on line 124
Notice: Undefined variable: warrant in
/var/www/vhosts/getpublished.news-leader.com/httpdocs/Warrants/loopScrape1.php on line 124
Notice: Undefined variable: bond in
/var/www/vhosts/getpublished.news-leader.com/httpdocs/Warrants/loopScrape1.php on line 124
Notice: Undefined variable: wnumber in
/var/www/vhosts/getpublished.news-leader.com/httpdocs/Warrants/loopScrape1.php on line 124
Notice: Undefined variable: crime in
/var/www/vhosts/getpublished.news-leader.com/httpdocs/Warrants/loopScrape1.php on line 124
On 5/11/09 2:45 PM, "Jônatas Zechim" <zechim.php@gmail.com> wrote: