On Jan 8, 2009, at 1:37 PM, Daniel Brown wrote:
On Thu, Jan 8, 2009 at 12:18, tedd <tedd.sperl...@gmail.com> wrote:
Hey, if I were you I wouldn't be taking about sanity now that you
have a
digestive system that has a two hour sleep cycle. :-)
I still have seven months or so of relative calm, if all goes
well. There isn't a moment that goes by that I don't hope I'll be
changing dirty diapers this time next year (well, except for the
moments that I think how great it would be to have him or her
potty-trained by five months).
Ummm Dan... As a father of 2... If you can get your little one potty
trained by 5 months... We are writing a book and selling it to
everyone! :P
Yes, but the "pre-database-interaction sanity' (otherwise known as
"knowing
what you're doing") goes without saying -- it's obvious -- that's
like
saying "Make sure you're connected to the database before using
mysql_real_escape_string() function."
In any event, you always should clean your variables before
creating a query
like that.
My post was about how overly complex the OP's query was -- after
all, it's
just a very simple query. I didn't see any need for back-ticks or
convoluted
quotes. If I was wrong, then I would like to know better.
No, you were correct. I just chose not to resist the zinger while
the opportunity was present.
--
</Daniel P. Brown>
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated server deals, too low to print - email me to
find out!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jason Pruim
japr...@raoset.com
616.399.2355