Jump to content

Archived

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

Leathal

Is it possible to??

Recommended Posts

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.

Thanks
Leathal

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
[!--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.

Share this post


Link to post
Share on other sites

×

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.