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")

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

Reply via email to