Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

' in conditions.php and other files ;-)


pixelsoul

Recommended Posts

Posted

:o Can anybody help.. i can't show up the text unless there if there is a ' somewhere in the text i does anybody know how i can make it so the php will ignore these ' in the text ?? :ph34r:

 

Thanks in advance :(

Posted

say what! your sentence makes no sense, but I guess what you want to know is how to escape the apostrophes in your text.

 

answer: use the backslash \ so that let's or what's become let\'s or what\'s

 

example:

define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.');

could be

define('TEXT_INFORMATION', 'Let\'s put here your Shipping & Returns information in regards to what\'s on offer');

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...