Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <1934714.aqSPkdTlGX@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Tue, 24 Jan 2012 17:32:02 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit Subject: Re: Unterminated String constant error Newsgroups: comp.lang.javascript References: <4f1e7b4f$0$6880$e4fe514c@news2.news.xs4all.nl> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 30 NNTP-Posting-Date: 24 Jan 2012 17:32:04 CET NNTP-Posting-Host: 9aed9d46.newsspool2.arcor-online.net X-Trace: DXC=kg4FJBM@GB9_A0jCfgHO6>A9EHlD;3Yc24Fo<]lROoR18kF If you want the title of that to hold information from the database > you should do something like this: > [PHP example] > > ... > > Mind the "". > Also make sure $myTitle is appropriately escaped. Like > When the raw data for title contains " or `<' and `&'. > you get into trouble when you don't escape. ACK. PointedEars -- realism: HTML 4.01 Strict evangelism: XHTML 1.0 Strict madness: XHTML 1.1 as application/xhtml+xml -- Bjoern Hoehrmann