MySQL Forums
Forum List  »  PHP

Re: running php from my computer problems
Posted by: Ryan McGrady
Date: February 25, 2009 04:25PM

Rick James Wrote:
-------------------------------------------------------
> The final ?> is optional. And there are semi-good
> reasons to leave it off.
>
> Check for balanced quotes (both " and ').
>
> You are escaping strings before putting them into
> INSERT statements? (Re "Sql injection")
>
> A different escaping is needed when you fill in
> form elements like
> echo "";


Quotes seemed balanced. Escaping is a term I keep seeing, but am having trouble getting a good explanation of. It seems that it's just adding a slash before quotes you want displayed so they're not mistaken for code? Know of a good guide or something with how and when I should be using that technique?

Options: ReplyQuote


Subject
Written By
Posted
Re: running php from my computer problems
February 25, 2009 04:25PM


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.