Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #3254

Re: PHP/MySQL oddity

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!news.xs4all.nl!not-for-mail
Date Sat, 01 Oct 2011 20:31:31 +0200
From Luuk <Luuk@invalid.lan>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20110922 Thunderbird/7.0
MIME-Version 1.0
Newsgroups comp.lang.php
Subject Re: PHP/MySQL oddity
References <n6le87lkemajdupb9d24qn811ult5t4dm1@4ax.com>
In-Reply-To <n6le87lkemajdupb9d24qn811ult5t4dm1@4ax.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <us2kl8-apa.ln1@luuk.invalid.lan> (permalink)
Lines 13
NNTP-Posting-Host 80.101.116.74
X-Trace 1317494102 news2.news.xs4all.nl 2475 80.101.116.74:53612
Xref x330-a1.tempe.blueboxinc.net comp.lang.php:3254

Show key headers only | View raw


On 01-10-2011 20:14, Mason Barge wrote:
> <form name=...><input type=text . . . value = '<?php echo $info;?>'

After PHP is done, and when $info contains "some'text" (without the 
double-quotes) What would you guess to be send to your browser?

Indeed, it's:
<form name=...><input type=text . . . value = 'some'text'.....
                                                     ^^^^


-- 
Luuk

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PHP/MySQL oddity Mason Barge <masonbarge@gmail.com> - 2011-10-01 14:14 -0400
  Re: PHP/MySQL oddity Luuk <Luuk@invalid.lan> - 2011-10-01 20:31 +0200
    Re: PHP/MySQL oddity Mason Barge <masonbarge@gmail.com> - 2011-10-01 17:31 -0400
      Re: PHP/MySQL oddity Denis McMahon <denismfmcmahon@gmail.com> - 2011-10-01 22:23 +0000
        Re: PHP/MySQL oddity Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-02 04:30 +0200
          Re: PHP/MySQL oddity Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-02 09:55 -0400
  Re: PHP/MySQL oddity Arno Welzel <usenet@arnowelzel.de> - 2011-10-02 19:35 +0200

csiph-web