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


Groups > comp.lang.php > #3254

Re: PHP/MySQL oddity

Date 2011-10-01 20:31 +0200
From Luuk <Luuk@invalid.lan>
Newsgroups comp.lang.php
Subject Re: PHP/MySQL oddity
References <n6le87lkemajdupb9d24qn811ult5t4dm1@4ax.com>
Message-ID <us2kl8-apa.ln1@luuk.invalid.lan> (permalink)

Show all headers | 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