Guest_imported
New member
- Jan 1, 1970
- 0
Hi! I am currently learning how to use PHP with a pervasive SQL 2000 Database. I can log on correctly to the databse using the ODBC connection, but I can't seem to be able to create tables for some odd reason. Here is the snippet of code:
/***test.php***/
<?php
$conn = odbc_connect("ABS","",""
$sql = "CREATE TABLE users (username varchar(64) password varchar(64))";
$res = odbc_exec($conn, $sql);
?>
I am using Apache 2.0.36 and PHP 4.21
Any help is greatly appreciated!
Sincerely,
André LeFort
/***test.php***/
<?php
$conn = odbc_connect("ABS","",""
$sql = "CREATE TABLE users (username varchar(64) password varchar(64))";
$res = odbc_exec($conn, $sql);
?>
I am using Apache 2.0.36 and PHP 4.21
Any help is greatly appreciated!
Sincerely,
André LeFort