Jump to content

how to place a flash button in php?


bambinou

Recommended Posts

Dear all,

 

i am completly new to PHP,i am having a very annoying problem at the minute and cannot find an answer.

i have created a flash button called "btn_listen.swt"  ,i have jpeg picture place on my webpage("btn_listen.jpg") and cannot find a way to replace this .jpg picture by my .swt button,any help would be appreciated:

<td><img src=\"".$path['webroot']."ecommerce/image/btn_listen.jpg\" style=\"cursor:pointer\" onclick=\"listen($myrow[0]);\"></td>

 

i know i have to use the <embed> statement but how and where in this syntax?

 

 

thank you very much everyone.

 

 

                                  ben

 

Link to comment
https://forums.phpfreaks.com/topic/66620-how-to-place-a-flash-button-in-php/
Share on other sites

Thanks projectfear,

 

i have been looking for html forum and i cannot find any help either,noone replies my questions....

by the way i thought the $ variable was only in PHP?

 

i have been all day on it,i try all the tutorials i could find ,i dont get it,it shouldn't be that hard to link my swf button file to my page.

i forgot to tell you something,when you said it was html only,i couldn't find any html tag in my webpage(someone designed it for me),all i could find was <?php and ?>  ,why did you say this was html related?i dont understand.

 

regards

 

                                ben

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.