Creating Tables

Codes here !

Moderators: macek, egami, gesf

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

Creating Tables

Postby 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?

DoppyNL

Postby 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

Jay

Postby Jay » Sat Oct 05, 2002 10:07 am

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


Return to “mySQL & php coding”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest