error in mysql SQL syntax
| From: | rdkurth at starband dot net | Date: | Fri, 12 Dec 2003 08:43:07 +0000 |
| Subject: | error in mysql SQL syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172559@lists.php.net to get a copy of this message | ||
Could somebody tell me way I am getting an error in this SQL syntax.
$query = "insert into majordomoaliases
(domain,address)values(\"$domname\",\"$virtdomain-majordomo: \"|$wrapper
majordomo -C $domaincf\")";
error=You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use near
'/usr/lib/majordomo/wrapper majordomo -C /var/lib/majordomo/dire
query=insert into majordomoaliases
(domain,address)values("www.domain.net","domain.net-majordomo:
"|/usr/lib/majordomo/wrapper majordomo -C
/var/lib/majordomo/domain.net/majordomo.cf")