Leathal Posted April 27, 2006 Share Posted April 27, 2006 Is it possible to do the following in PHP :<bgsound src="sv/inject.wav" loop="1">I need to be able to play this sound file at the beginning of my page however when I add this line before the PHP code the page table gets all screwed up. :(So I have been looking for a script which will allow me to do the exact same thing but in PHP.ThanksLeathal Quote Link to comment https://forums.phpfreaks.com/topic/8547-is-it-possible-to/ Share on other sites More sharing options...
ober Posted April 27, 2006 Share Posted April 27, 2006 PHP is a SERVER SIDE SCRIPTING LANGUAGE. That means that any sound you want to play, or layout problems you may have must be handled by either HTML, CSS, or Javascript. Quote Link to comment https://forums.phpfreaks.com/topic/8547-is-it-possible-to/#findComment-31326 Share on other sites More sharing options...
Leathal Posted April 27, 2006 Author Share Posted April 27, 2006 Okay let me simplify this a little. I am running VBulletin 3.5.x which is written entirely out of PHP, and some XML. I am looking for away to add the above HTML into the vbull index.php file or if there is a converstion from the HTML command I gave to PHP that would be cool too.Leathal Quote Link to comment https://forums.phpfreaks.com/topic/8547-is-it-possible-to/#findComment-31341 Share on other sites More sharing options...
trq Posted April 27, 2006 Share Posted April 27, 2006 [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]I am looking for away to add the above HTML into the vbull index.php file or if there is a converstion from the HTML command I gave to PHP that would be cool too.[/quote][code]echo '<bgsound src="sv/inject.wav" loop="1">';[/code]But its not going to make any difference, its all outputted as html in the end. Your problem is with your markup, not php. Quote Link to comment https://forums.phpfreaks.com/topic/8547-is-it-possible-to/#findComment-31360 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.