> Hello all.
> 
> I am trying to create simple test table with php, but I get:
> 
> Parse error: parse error in /home/vanesaw/public_html/create.php on line 5
> 
> Line 5 is command to create table (see code below).
> 
> Whats wrong with it? Thanks.
> ------------
> <?
> $sql = mysql_connect("host", "login", "pass");
> mysql_select_db("dbname");
> 
> CREATE TABLE test (id TINYINT not null AUTO_INCREMENT, process LONGTEXT not
> null , title LONGTEXT not null , description LONGTEXT not null , PRIMARY KEY
> (id));
> 
> ?>
> done


Saulius,
http://www.php.net/manual/en/function.mysql-query.php
=dn



-- 
PHP Database 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]

Reply via email to