that won't really work if he used the ALT attribute too: <img alt="Hello world image" src="helloworld.jpg" ....>
"David Robley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] says... > > hi how is it possible to strip quotes from an image tag ? > > i need > > <IMG height=44 alt=hspace=0 src="blah.jpg" width=148 border=0> > > > > to look like > > <IMG height=44 alt=hspace=0 src=blah.jpg width=148 border=0> > > > > > > > $string_no_quotes = str_replace('"', '',$yourstring); > > if the tag can be placed in a variable/ > > -- > David Robley > Temporary Kiwi! > > Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php