Re: does this work?

From: Date: Thu, 10 Jan 2002 22:21:19 +0000
Subject: Re: does this work?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80098@lists.php.net to get a copy of this message
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

« previous php.general (#80098) next »