Jump to content

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
Link to comment
https://forums.phpfreaks.com/topic/8547-is-it-possible-to/
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
Link to comment
https://forums.phpfreaks.com/topic/8547-is-it-possible-to/#findComment-31341
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.
Link to comment
https://forums.phpfreaks.com/topic/8547-is-it-possible-to/#findComment-31360
Share on other sites

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.