bambinou Posted August 25, 2007 Share Posted August 25, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/66620-how-to-place-a-flash-button-in-php/ Share on other sites More sharing options...
JasonLewis Posted August 25, 2007 Share Posted August 25, 2007 this isnt php.this is more html related.as long as you no how to echo output search google for embedding flash objects in your document. Quote Link to comment https://forums.phpfreaks.com/topic/66620-how-to-place-a-flash-button-in-php/#findComment-333795 Share on other sites More sharing options...
bambinou Posted August 25, 2007 Author Share Posted August 25, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/66620-how-to-place-a-flash-button-in-php/#findComment-333934 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.