On Wednesday 17 April 2002 05:35, Richard Emery wrote:
> Are you trying to create a table named "How Are You"?  If so, can't do it.
> It MUST be a one-word name.

Not strictly true. You can surround the table name with backticks:

  CREATE TABLE `How Are You` ...


However this is /not/ recommended, better to use underscores -- How_Are_You.

> You would have discovered this yourself had you typed your CREATE statement
> into the mysql command line.
>
> Second ALWAYS include an "or die("Error: ".mysql_error())" part after your
> mysql_query().

I second this!

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Q:      Know what the difference between your latest project
        and putting wings on an elephant is?
A:      Who knows?  The elephant *might* fly, heh, heh...
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to