Creating Tables

Codes here !

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada

Fri Oct 04, 2002 4:26 pm

Ok, I created my DB and now I was trying to create Tables through a query in my PHP script but I just got an error. Whats the proper way to create tables through PHP code?


Sat Oct 05, 2002 1:30 am

There is no specific way to do that.
You simply have to create a correct query and execute that with mysql_query.

If that query fails you should look at the error and work from there to get it working.

There are no restrictions on possibilities with query's in php.

Greetz Daan


Sat Oct 05, 2002 10:07 am

Or get yourself a copy of PHPMyAdmin, marvelous piece of software!

Post Reply