Quoting an unknown string for database insert
| From: | Joseph Tate | Date: | Tue, 01 May 2001 22:27:46 +0000 |
| Subject: | Quoting an unknown string for database insert | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51039@lists.php.net to get a copy of this message | ||
Is there a function that I can call that is similar to perl's DBI::quote
function that will take arbitrary text and quote it so that it is safe to
insert into a database?
I'm using PHP 4.0.4pl1 on Apache 1.3.14 with postgresql 7.0.2
Joseph