Trouble with Mysql

Hello,

    I am trying to learn Mysql, I have a little experience. 

My question if i may is how can i get this to work, i have tried everything and have little hair left

    Getting error with either way i try this

mysql_query (“CREATE TABLE votes (first INTEGER, sec INTEGER, third INTEGER) values(0,0,0)”) or die(mysql_error());

and

    CREATE TABLE votes (first INTEGER, sec INTEGER, third INTEGER); 

INSERT INTO votes (first, second, third) VALUES (0,0,0)

any help is greatly appreciated, Thanks in advance, Creig

First of all I would start off getting to know mysqli not mysql from these links http://www.php.net/manual/en/intro.mysqli.php and possibly http://dev.mysql.com/.

Yes, Im actually reading up on it now. Thank you.

Would like to know why what i have doesnt work also, for knowledge

Sponsor our Newsletter | Privacy Policy | Terms of Service