PHP 4.0 Bug #4964 Updated: inserting "special" data fails
| From: | Bug Database | Date: | Sun, 11 Jun 2000 20:48:16 +0000 |
| Subject: | PHP 4.0 Bug #4964 Updated: inserting "special" data fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21059@lists.php.net to get a copy of this message | ||
ID: 4964
User Update by: fredo@pandora.be
Status: Closed
Bug Type: ODBC related
Description: inserting "special" data fails
<?
$username = "Olivier D'hooghe";
$username = ereg_replace("'", "''", $username);
echo $username;
?>
Solves it...
Full Bug description available at: http://bugs.php.net/version4/?id=4964