...

View Full Version : Help a donkey!!!



bicho_colorado
01-23-2008, 03:22 AM
I'm a donkey and need someone to help me PLEASE!!

I'm trying to insert a Flash banner into a table and only gets errors

This is the original code

echo "<table class='table_layout_main' style='width:{$config['gallery_width']};padding-top:0' cellpadding='0' cellspacing='0'>
<tr><td>
</td></tr> ";

and when I paste this (blue code), the final sentences ( </td></tr> ";) change the color showing an an error

echo "<table class='table_layout_main' style='width:{$config['gallery_width']};padding-top:0' cellpadding='0' cellspacing='0'>
<tr>

<td classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="720" height="60">
<param name="movie" value="123-banner_com_168574_willy.swf">
<param name="quality" value="high">
<embed src="123-banner_com_168574_willy.swf" width="688" height="91" autostart="false" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

</td></tr> ";


Thanks for help me

mlseim
01-23-2008, 04:11 AM
I'm having a hard time understanding the post.

I do think that in this part:

<embed src="123-banner_com_168574_willy.swf" width="688" height="91" autostart="false" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

You can't have any carriage returns on the line. It should all be one continous line.
Make sure you don't have a broken line with CR's.

The rest of the post I don't understand.

bicho_colorado
01-23-2008, 04:37 AM
thanks,
I have a long line with no CR.

What I tried to say was that the paga has a code that works ok. and is this

echo "<table class='table_layout_main' style='width:{$config['gallery_width']};padding-top:0' cellpadding='0' cellspacing='0'>
<tr><td>
</td></tr> ";

but when I change it by inserting this code betwee the <td> and </td> there is an error

<td classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="720" height="60">
<param name="movie" value="123-banner_com_168574_willy.swf">
<param name="quality" value="high">
<embed src="123-banner_com_168574_willy.swf" width="688" height="91" autostart="false" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

I hope this get it clear.
Thanks any way.

mlseim
01-23-2008, 03:55 PM
Are you getting a PHP error?

Because the Flash part you're inserting has a whole bunch of quotes in it?

Try escaping all of those quotes:


<td classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"720\" height=\"60\">
<param name=\"movie\" value=\"123-banner_com_168574_willy.swf\">
<param name=\"quality\" value=\"high\">
<embed src=\"123-banner_com_168574_willy.swf\" width=\"688\" height=\"91\" autostart=\"false\" align=\"middle\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum