On Thursday, January 10, 2002, at 05:16  PM, Martin Towell wrote:

> is this valid in PHP?? (haven't tried it myself yet...)
> $tempsql = "SELECT COUNT(*) AS count
>                       FROM divisions";
> maybe it needs to be on one line???

It turns out that my problem was a typo.  I apologize for wasting 
everyone's time with that, I thought that I had checked thoroughly.

To answer your question, the extra whitespace (the newline between 
"count" and "FROM") doesn't matter here because structured query 
language doesn't recognize whitespace.  Technically, that newline is in 
the SQL, not the PHP code itself.

-- Erik

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]

Reply via email to