"Merlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello there, > > I am running php 4.2.1 on a linux machine. Not sure, but I think there might > be a bug in there. > > While putting data into the db I do get an error in a verry rar case. All > values are escaped by addslashes commands. > > This is the original string: > the 'capitol-' of Kefalonia > > This is the string after addslashes: > the \'capitol\-' of Kefalonia > > Which leaves the last ' unescaped. > > Am I wrong, or is this a bug? Anny suggestions? > > Thanx for any help, > > Merlin
That's strange. Tested on PHP v4.2.3 on Linux and it seems to be working okay.. output: \'capitol-\' of Kefalonia - Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php