note 71744 deleted from function.echo by tularis

From: Date: Thu, 01 Nov 2007 09:14:55 +0000
Subject: note 71744 deleted from function.echo by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-131908@lists.php.net to get a copy of this message
Note Submitter: Meercat9 ---- <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>" ?>

« previous php.notes (#131908) next »