Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Please help with echo youtube id.. simple

$
0
0

I used to have an acc at phpfreaks.. started coding again.  I'd appreciate some help cuz this is pissing me off..

	<?php
		$xml=simplexml_load_file("http://X/demo/statefarm/id.xml");
		$id = $xml->customid;
		echo $id
		
		?>

This works fine

	<?php
		$xml=simplexml_load_file("http://x.com/demo/statefarm/id.xml");
		$id = $xml->customid;
		echo $id
		
	echo	"<iframe src="$id" allowfullscreen="no" frameborder="0" height="125" width="182">" 
		
		?>

This dosen't.  I have tried every combination of syntax and google and I just get a blank page.  I'd appreciate some help, thanks.


Viewing all articles
Browse latest Browse all 13200

Trending Articles