Does anyone know how to prevent PHP from adding in \ before " coming from a mysql db?
Example: <IMG SRC="../../imagebin/image.jpg"> // as it appears in the database <IMG SRC=\"../../imagebin/image.jpg\"> // as it appears in the final product
Mark
did you try putting the image location into a variable? i can't tell what is coming from mysql but i never have this problem- i just put output into variable then do <img src="$image_location">
I have it as : [select statement] $text = $line['text']; [html code]<?php echo $text ?>[html code]
I think its something in the new version of php because up until the last update on our servers it was working perfectly.