Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.