MySQL Forums
Forum List  »  PHP

Re: Looking for Rule on quoting
Posted by: Shawn Taylor
Date: August 20, 2010 02:25PM

> Looking for any suggestions regarding using PHP, Javascript and mysql and the right way to do quoting.

IMHO you want to abstract as much as is humanly possible to code libraries.

I also like using double quotes on the outside as it lets you use variables on the inside. But really, the key is consistency. Once you have a format you like, always do it the same way every time. It's much easier to maintain.

> are there any times when you can confuse the various levels of software interaction by not using one type of quote instead of another.

Hell ya! And it is a royal pain trying to debug it!!

Good luck,

Shawn

Options: ReplyQuote


Subject
Written By
Posted
August 20, 2010 11:15AM
Re: Looking for Rule on quoting
August 20, 2010 02:25PM
August 23, 2010 02:42PM
August 23, 2010 02:44PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.