. Please.
Thanks for the help and i hope the included code sample can help someone
else.
Thanks
Dave C
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]]
Sent: 11 January 2002 18:49
To: Dave Carrera; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Create Table from a file in php
I
Hi All
I want to create a table from a file that contains the sql to create the
table.
I have checked Mysql.com and have seen how to do it from telnet, but i want
to do it from a php script.
Can anyone please help.
Thanks in Advance
Dave C
The two rules for success are:
1. Never tell them
I don't know how you would do it from a file off the top of my head, so
let's invent it, in pseudocode, anyway. The important thing to remember is
that all of the commands to create or alter tables / databases are SQL
queries. So the mysql_query() function is used to do most of the work.