Re: PHP - MySQL Question
| From: | Sharif Islam | Date: | Tue, 25 Jul 2000 21:42:14 +0000 |
| Subject: | Re: PHP - MySQL Question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1474@lists.php.net to get a copy of this message | ||
I think u can create a variable
$sql=CREATE TABLE tbl_name (....);
then u can call mysql_db_query
like this:
$result=mysql_db_query($database,$sql,$connection)
then for display u can do
mysql_fetch_array($sql)
hope this helps
On Tue, 25 Jul 2000, Howard Cohodas wrote:
> Got mysql_create_db to create a database in MySQL.
> What about creating tables, fields and keys?
>
> Howard A. Cohodas
> Design Knowledge Technologies Inc.
> Phone: (011)(330)492-9900
> FAX: (011)(330)492-1100
> otfGIF Encoder: http://www.dkt.com/otfGIF
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>