Speaking of PHP
Mark Hutchings
mark at desynergy.com
Thu Nov 7 15:21:44 CST 2002
I do that and I get
Parse error: parse error, expecting `','' or `';'' in /home/www/index.php on
line 69
Line 69 is:
<param name="movie" value="flash/logo.swf">
Quoting Bradley Miller <bradmiller at dslonramp.com>:
> Normally you'd put it in:
>
> echo "my stuff goes here and if I need a quote I'll put " to display a
> quote";
>
> The problem is that's tedious when working with things like javascript or
> other things like the flash embedding. The quick way to do it would be
> escape it out like this:
>
>
> echo <<<EOD
>
> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
> b#ve
> rsion=5,0,0,0" width="335" height="90">
>
> <param name=movie value="flash/logo.swf">
>
> <param name=quality value=high>
>
> <embed src="flash/logo.swf" quality=high
> pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?
> P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"
> width="335" height="90">
>
> </embed>
>
> </object>
>
> EOD;
>
>
>
>
> Bradley Miller, Owner/Programmer/Designer
> AccessZone Design - www.accesszonedesign.com
> Blue Springs, Missouri
> Phone: 816-228-3814 Fax: 775-254-6162
> Toll-free: 888-872-4420 ICQ: 48555780
>
More information about the Kclug
mailing list