note 71744 added to function.echo
| From: | Meercat9 at osu1 dot php dot net | Date: | Thu, 14 Dec 2006 04:12:15 +0000 |
| Subject: | note 71744 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120594@lists.php.net to get a copy of this message | ||
<table align=center>
<?
//Using Backslashes Does not Make the Quotation Marks Not Execute, Only Separates them From the
Others.
echo "<tr align=center bgcolor=#1A1A1A
onMouseOver=\"this.bgColor='#33333';\"
onMouseOut=\"this.bgColor='#1A1A1A';\">"
?>
</table>
Which Can Work Similar if You Want to Store Some Java Incorporated HTML in a String Variable.
<?
$table = "<table align=\"center\">
$td = "<tr align=center bgcolor=#1A1A1A
onMouseOver=\"this.bgColor='#33333';\"
onMouseOut=\"this.bgColor='#1A1A1A';\">";
$td = "<td align=\"center\">";
echo "<$table \n $tr \n $td \n Hello </td>\n</tr>\n</table>"
?>
----
Server IP: 66.163.161.117
Probable Submitter: 124.184.52.84
----
Manual Page -- http://www.php.net/manual/en/function.echo.php
Edit -- https://master.php.net/note/edit/71744
Del: integrated -- https://master.php.net/note/delete/71744/integrated
Del: useless -- https://master.php.net/note/delete/71744/useless
Del: bad code -- https://master.php.net/note/delete/71744/bad+code
Del: spam -- https://master.php.net/note/delete/71744/spam
Del: non-english -- https://master.php.net/note/delete/71744/non-english
Del: in docs -- https://master.php.net/note/delete/71744/in+docs
Del: other reasons-- https://master.php.net/note/delete/71744
Reject -- https://master.php.net/note/reject/71744
Search -- https://master.php.net/manage/user-notes.php