Re: Fixed Quote Marks in Inputs
| From: | Bogdan Stancescu | Date: | Fri, 04 Jan 2002 21:40:40 +0000 |
| Subject: | Re: Fixed Quote Marks in Inputs | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15414@lists.php.net to get a copy of this message | ||
That would be because this way you'll end up with the proper data in the
database instead of HTML-encoded strings. Plus it's the proper way to do it --
everybody does it this way and it's a good habit.
Bogdan
Jonathan Hilgeman wrote:
> I thought I made it somewhat clear:
> > when I'm dealing with form inputs that can contain quote marks
>
> Why run 3 functions at separate times when you can run one once just before
> data is inserted into the database?