Jan G.B. wrote:
2010/5/6 David McGlone <david@xxxxxxxxxxxxx>:
On Wednesday 05 May 2010 16:19:35 Paul M Foster wrote:
On Wed, May 05, 2010 at 01:03:41PM -0400, David McGlone wrote:
On Wednesday 05 May 2010 12:51:00 Ashley Sheridan wrote:
On Wed, 2010-05-05 at 12:55 -0400, David McGlone wrote:
I've checked and checked and re-checked and I can't figure out what
I've done wrong. I'm getting a parse error:
<snip>
WOW!!!! I have spent at least 4 hours reading and re-reading it and it
took you 3 seconds.
That was the problem. How, how, how could I have overlooked that so many
times????
Thank you Ashley, I should have asked you 3 hours ago. ;-)
Yeah, David, the rest of us are really disappointed in you. I mean, it's
not like that's ever happened to *us*. ;-}
I've been studying PHP for at least 2 years straight now, after dabbling in it
for about a year 6 years ago. So even though I've had my nose to the grind for
a good 2 years now, I don't think I can call my mistake a "rookie mistake".
Thats what's frustrating to me. LOL
--
Blessings,
David M.
I would take this as a hint to prefer intval() instead of casts.
initval($foo) would have drawn a fatal error - can't be overseen. ;)
Casts are an order of magnitude faster than function calls.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php