Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

[PHP3] SQL Question From: Justin Foster (jfoster <email protected>)
Date: 07/31/98

Hello everyone,

Should this statement work as it is written? I keep getting sintax
errors, so I am assuming that I am missing something minor. Please let
me know, I have been banging my head on this all morning.

Thanks,

> $ready_sql = "INSERT INTO tblTable (Index, Things) VALUES (SELECT column FROM tblOtherTable
>
> WHERE Stuff = '$Stuff', SELECT anothercolumn FROM tblOtherTable2
>
> WHERE Newstuff = '$NewStuff')";
>

--
Justin Foster <jfoster <email protected>>

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3