Re: Generating Tables
| From: | Miles Thompson | Date: | Sat, 09 Dec 2000 21:07:37 +0000 |
| Subject: | Re: Generating Tables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29497@lists.php.net to get a copy of this message | ||
Jess,
RTFM - you will find:
mysql_query() - you use to execute mysql commands for MySQL
pg_exec() - to execute a query in PostgreSQL
You get the idea. Depend on which database, etc. Generally it's easier to
create tables from scripts you run on the server hosting the database, but you
could do it with PHP. Exact syntax depends on the database, not PHP.
Miles Thompson
Jeff Lacy wrote:
> Hello World,
>
> Does anyone know of or have a script that will generate a table? That
> would be really helpful to me right now. Thanks a lot :-)
>
> Cheers,
>
> Jeff
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net