MySQL Forums
Forum List  »  PHP

Re: running php from my computer problems
Posted by: Rick James
Date: February 24, 2009 09:34PM

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 "<input type=text name=foo value=\"$value\">";

Options: ReplyQuote


Subject
Written By
Posted
Re: running php from my computer problems
February 24, 2009 09:34PM


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.