Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

Creating Tables

Codes here !

Moderators: macek, egami, gesf

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?
Xerpher
New php-forum User
New php-forum User
 
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada

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
DoppyNL
 

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

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


Return to mySQL & php coding

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.