Re: PHP Processing
| From: | fossybeer | Date: | Tue, 06 Jan 2004 01:04:43 +0000 |
| Subject: | Re: PHP Processing | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32293@lists.php.net to get a copy of this message | ||
ALL OR NOTHING: (works i.e. with MS ACCESS - ODBC)
function prepare()
{ global $conn;
$result = odbc_prepare ( $conn, "CREATE TABLE XX(test int);CRATE TABLE
YY;");
if(odbc_execute($result)){echo "Everything is OK (but shouldn't!).";}
else{echo "Error in the statement. Table XX should NOT be there.";}
}