Creating Tables

Codes here !

Moderators: macek, egami, gesf

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

Creating Tables

Post by Xerpher » 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?


Post by DoppyNL » 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


Post by Jay » Sat Oct 05, 2002 10:07 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests