Hi everyone
I am using a website based in the states to which is PHP enabled. I am using
MySQL.
Is there a way to create a table with PHP? I do not see any command for
that.
I have loaded MySQL for Windows but the server runs MySQL on Unix. I don't
know if the file structure is different.
At 08:00 AM 4/25/01 +0200, Herman Wapenaar wrote:
I am using a website based in the states to which is PHP enabled. I am
using MySQL.
Is there a way to create a table with PHP? I do not see any command for that.
Well, as an Oracle administrator, I may be going out on a limb here
regarding
Check your MySQL docs for exact syntax on table creation ... then:
Connect to the database
Build a SQL statement that does what you want:
$sql = CREATE TABLE blah, blah ..;
Execute the statement:
$result = mysql_query( $sql );
and check for errors, etc.
Alternately, if this is a
, it is in us.
You will ultimately be known by what you give and not what you get.
- Original Message -
From: Herman Wapenaar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 11:30 AM
Subject: [PHP-DB] Creating tables
Hi everyone
I am using a website based
:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 11:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Creating tables
Hi everyone
I am using a website based in the states to which is PHP enabled. I am using
MySQL.
Is there a way to create a table with PHP? I do not see any command for
that.
I have