Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Wed, 07 Sep 2011 15:29:27 -0500 From: Robin Hounsome Subject: Re: PHP query Newsgroups: comp.sys.acorn.programmer Date: Wed, 07 Sep 2011 21:29:23 +0100 Message-ID: <520f2847dbrobin@hounsome.org.uk> References: User-Agent: Pluto/3.04c (RISC-OS/5.16) NewsHound/1.43-32-pre2 Organization: None Lines: 26 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-7J2r27rChQTVpEsoMAH+OWtI81F/41DzcgLJG6LsMKzIygyaB3adMrMFd0PsGR2tLsFTy0/uhQ/+PuC!+Snf5LMmA7bI3XYM2Qp2ucSsZb027Sa0Cg5Dvjq6wzVAV0TbMJvNL0N0fx5x7FFdQmK2FZAbNRxC!0Bc= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1634 Xref: x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:696 In article , Alan Adams wrote: > I am having problems dealing with input data containing the single > quote character ' [snip] > $readtest=$_POST["readtest"]; ^^^^^^^^^^^^^^^^^^ > echo "
readtest=$readtest
\n"; > echo "
\n"; > echo "\n"; ^^^^^^^^^^^ Try this $readtest=stripslashes($_POST["readtest"]); echo "\n"; Um... untested Robin -- Remote - http://www.hounsome.org.uk TV display software for the Iyonix