[PHP] Newbie MySQL Table Work

2001-04-12 Thread Chris Anderson

Alright I finally got around to installing MySQL on my cpu, and I sucessfully created 
a database. Now I have a ryyy dumb question. In the manual I see no 
functions for creating tables in a database through code. Maybe I'm just missing the 
function. Can someone help me?



Re: [PHP] Newbie MySQL Table Work

2001-04-12 Thread Phillip Bow

Check out mysql_query.   It will allow you to execute any query that you
would normally do via the command line interface to MySQL.
--
phill

""Chris Anderson"" [EMAIL PROTECTED] wrote in message
000301c0c373$a3522960$b01012d1@null">news:000301c0c373$a3522960$b01012d1@null...
Alright I finally got around to installing MySQL on my cpu, and I
sucessfully created a database. Now I have a ryyy dumb question.
In the manual I see no functions for creating tables in a database through
code. Maybe I'm just missing the function. Can someone help me?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Newbie MySQL Table Work

2001-04-12 Thread Plutarck

Use the mysql_query as mentioned. You need the CREATE TABLE syntax.

For all your basic SQL syntax ponderings, I found a great site:

http://sqlcourse.com

Helped me out tremendously.

For the create table:

http://sqlcourse.com/create.html


--
Plutarck
Should be working on something...
...but forgot what it was.


""Chris Anderson"" [EMAIL PROTECTED] wrote in message
000301c0c373$a3522960$b01012d1@null">news:000301c0c373$a3522960$b01012d1@null...
Alright I finally got around to installing MySQL on my cpu, and I
sucessfully created a database. Now I have a ryyy dumb question.
In the manual I see no functions for creating tables in a database through
code. Maybe I'm just missing the function. Can someone help me?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]