Re: Mysql statement works in phpmyadmin but not in php page
| From: | Joseph Thayne | Date: | Thu, 11 Feb 2010 21:57:44 +0000 |
| Subject: | Re: Mysql statement works in phpmyadmin but not in php page | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302021@lists.php.net to get a copy of this message | ||
Actually, the syntax is just fine. I personally would prefer it the way you mention, but there actually is nothing wrong with the syntax.
The ,'$date1'"." is not correct syntax, change it to ,'".$date."'