Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

" qoutations turn to //


Guest

Recommended Posts

yep, type an escaping slash before the quote marks - i.e. instead of

 

image src="blabla.com/image">

 

put

 

image src=\"blabla.com/image\">

 

the \ mark tells php to ignore the following mark and not cause problems. As your description goes into the database, the information needs to be free of marks which confuse the code. An html editor does this automatically for you, or if you prefer the method above will keep your code usable.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...