Re: [PHP] PHP adding slash to MySql results

2002-12-06 Thread Kevin Lowe
Hi Marek, That is switched off. However, I was just having another look at the problem, and, it actually appears to be fixed! I didnt shange anything, so the ISP must have done something? Thanks, Kevin Marek Kilimajer <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

Re: [PHP] PHP adding slash to MySql results

2002-12-06 Thread Marek Kilimajer
You ISP turned magic_quotes_runtime on, use set_magic_quotes_runtime() to override it. Kevin Lowe wrote: Hi, I have just noticed a problem reading MySql data with PHP running as an apache module. Basically, any data retrieved from MySql that contains a single quote (and no doubt other characte

[PHP] PHP adding slash to MySql results

2002-12-06 Thread Kevin Lowe
Hi, I have just noticed a problem reading MySql data with PHP running as an apache module. Basically, any data retrieved from MySql that contains a single quote (and no doubt other characters too) is displayed with a slash in it when printed by PHP. For example: $surname = "O'Brien"; print "$su