You are here: Re: Apostrophe issue « PHP SQL « IT news, forums, messages
Re: Apostrophe issue

Posted by Steve on 09/19/05 14:09

> >>My problem is with the use of an apostrophe (single quote) and other such
> >>characters as they break my HTML. I'm also using javascript and it's a
> >>problem there as well.

Text in javascript strings that could have apostrophes must be escaped.
The javascript escape character is a backslash. To do this see the user
notes under <http://www.php.net/addslashes> - search that entry for
"javascript".

---
Steve

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация