Bug #16279 Updated: quote problem
| From: | mboeren@php.net | Date: | Tue, 26 Mar 2002 08:40:39 +0000 |
| Subject: | Bug #16279 Updated: quote problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3362@lists.php.net to get a copy of this message | ||
ID: 16279
Updated by: mboeren@php.net
Reported By: fjl@kub.nl
Status: Bogus
Bug Type: Output Control
Operating System: solaris
PHP Version: 4.1.2
New Comment:
For readability, try this for coding style:
$xx = 1;
echo '<a href="1" target="_blank"
onmouseover="moveover(\''.$xx.'\');
return true;">1</a>';
Previous Comments:
------------------------------------------------------------------------
[2002-03-26 03:35:27] derick@php.net
user error > bogus
------------------------------------------------------------------------
[2002-03-26 03:28:40] fjl@kub.nl
I made a typo int moveover
should be moveover(
Frans.
------------------------------------------------------------------------
[2002-03-26 03:25:01] fjl@kub.nl
The string
$xx = 1;
echo "<a href=\"1\" target=\"_blank\"
onmouseover=\"moveover\\\"$xx\\\"); return true;\">1</a>";
gives a problem on the second \\\"
the \\ is shown as a \
the \" is not reproduced as a " where I expect "
I hope this is not a problem in php but it is me.
Frans.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16279&edit=1