Blah sorry, I saw your second example not your final code.  Some
scripts I use have different database connections and because of that
it is very important to always make sure I am using the correct link
identifier.

The php best practice example checks the string to see if it is a
number.  If it is there technically isn't any reason to escape because
there won't be any quotes.

Just out of curiosity how exactly are you going to put the link
identifier in your method since it is static?

Hey Eric,

The function standalone seems static, but it's implemented in a MySQL class I 
wrote. I can just add $this->connId as the link identifier
And it should work no problem :)

Regards,

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

Reply via email to