RE: [PHP] Strange music playing behavior

2004-05-12 Thread Jay Blanchard
[snip]
I'm getting some strange behavior trying to play music. The script below
works fine standalone. However, when I put it into a larger script the
music
doesn't play but all of the echo statements work and when I view the
source
the embed tags are fine, etc. What could the issue be? If you need me
to
send the larger file let me know.
[snip]

Since the code snippet you sent works I would have to say that something
about this code being plugged into other code is a problem. I believe
that is what it is. For sure.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Strange music playing behavior

2004-05-12 Thread Ryan Schefke
, MYSQL_NUM)) {

if (!empty($row_lists[1]) || !empty($row_lists[2]))
{
$list_person = 'trtd
colspan=2strong'.$row_lists[1].' '.$row_lists[2].'/strong/td/tr';
} else $list_person = null;

if (!empty($row_lists[0])) {
$list_position = 'trtd
colspan=2emfont size=2'.$row_lists[0].'/font/em/td/tr';
} else $list_position = null;

if (!empty($row_lists[3])) {
$list_story = 'trtd width=22%
valign=topStory:/tdtd width=78%'.$row_lists[3].'/td/tr';
} else $list_story = null;

if (!empty($row_lists[3])) {
$storyYN = u.$row_lists[1] .'s
Story:/u;
} else {
$storyYN = null;
}   

if (!empty($row_lists[4]) || !empty($row_lists[3]))
{
$theirphoto = 'img src=http://' .
$_SERVER['HTTP_HOST'] . '/tgwedding/users/client' . $ID .
'/bridalparty/'.$row_lists[4].' align=left';
$list_photo = 'trtd width=70%
valign=top'.$storyYN.'br'.$row_lists[3].'/tdtd'.$theirphoto.'/td
/tr';
} else $list_photo = null;

echo  'table width=80% border=0 align=center cellpadding=0
cellspacing=3 class=itembackground'.$list_person.$list_position.
'tr 
  tdnbsp;/td
/tr'
//  .$list_story.
.$list_photo.
'/table
  br';
} 
?
  /div
  pnbsp;/p/td
  /tr
/table/td
/tr
  /table
  
  
?php 
require(websitefooter.php);
 ?  

?PHP mysql_close(); ?
/div
/body
/html

-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 2:20 PM
To: Ryan Schefke; Php-General-Help
Subject: RE: [PHP] Strange music playing behavior

[snip]
I'm getting some strange behavior trying to play music. The script below
works fine standalone. However, when I put it into a larger script the
music
doesn't play but all of the echo statements work and when I view the
source
the embed tags are fine, etc. What could the issue be? If you need me
to
send the larger file let me know.
[snip]

Since the code snippet you sent works I would have to say that something
about this code being plugged into other code is a problem. I believe
that is what it is. For sure.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Strange music playing behavior

2004-05-12 Thread Jay Blanchard
[snip]
I know it's a lot of code but it's below.  Again, when I have the /*
MUSIC?
*/ section as a standalone file (making sure to open and close the
database
and include the correct require statements) it works fine; however, when
added to the code below (music section 4 paragraphs down) it doesn't
play
but all the embed tags and echo statements are displaying correctly.

Any clues to keep me from banging my head against the wall?
[/snip]

Top posting rocks!

It looks like you're outputting your embed tags before the html even
starts. Try placing the code somewhere mid-page...between the body
tags

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Strange music playing behavior

2004-05-12 Thread Ryan Schefke
I just tried it between the body tags, that doesn't make a difference.  As
I mentioned, when I run it standalone it will work fine and it's a php file,
not html so the html tags aren't needed.

...this is painful!

-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 2:30 PM
To: Ryan Schefke; Php-General-Help
Subject: RE: [PHP] Strange music playing behavior

[snip]
I know it's a lot of code but it's below.  Again, when I have the /*
MUSIC?
*/ section as a standalone file (making sure to open and close the
database
and include the correct require statements) it works fine; however, when
added to the code below (music section 4 paragraphs down) it doesn't
play
but all the embed tags and echo statements are displaying correctly.

Any clues to keep me from banging my head against the wall?
[/snip]

Top posting rocks!

It looks like you're outputting your embed tags before the html even
starts. Try placing the code somewhere mid-page...between the body
tags

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Strange music playing behavior

2004-05-12 Thread John Nichel
Jay Blanchard wrote:
Top posting rocks!

You like to live dangerously.  ;)

--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Strange music playing behavior

2004-05-12 Thread Ryan Schefke
I fixed it, thanks!  It turns out my src=  location was wrong since I
moved the file.  I just freaked cause I thought it was an issue with
php+html.

Sorry, Ryan

-Original Message-
From: Ryan Schefke [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 2:35 PM
To: 'Jay Blanchard'; 'Php-General-Help'; 'Ryan Schefke'
Subject: RE: [PHP] Strange music playing behavior

I just tried it between the body tags, that doesn't make a difference.  As
I mentioned, when I run it standalone it will work fine and it's a php file,
not html so the html tags aren't needed.

...this is painful!

-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 2:30 PM
To: Ryan Schefke; Php-General-Help
Subject: RE: [PHP] Strange music playing behavior

[snip]
I know it's a lot of code but it's below.  Again, when I have the /*
MUSIC?
*/ section as a standalone file (making sure to open and close the
database
and include the correct require statements) it works fine; however, when
added to the code below (music section 4 paragraphs down) it doesn't
play
but all the embed tags and echo statements are displaying correctly.

Any clues to keep me from banging my head against the wall?
[/snip]

Top posting rocks!

It looks like you're outputting your embed tags before the html even
starts. Try placing the code somewhere mid-page...between the body
tags

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Strange music playing behavior

2004-05-12 Thread Jay Blanchard
[snip]
 Top posting rocks!
 

You like to live dangerously.  ;)
[/snip]

Dammit! I forgot the [sarcasm] tags! :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php