Codes here !
Moderators: macek, egami, gesf
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?
- New php-forum User
- Posts: 164
- Joined: Tue Aug 27, 2002 8:25 pm
- Location: Ontario, Canada
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.
Or get yourself a copy of PHPMyAdmin, marvelous piece of software!
Return to mySQL & php coding
Who is online
Users browsing this forum: No registered users and 3 guests