Have a look at a YouTube URL - http://www.youtube.com/watch?v=eKD1C6V4wgc
Then have a look at the embed code - <object width="425" height="344"><param name="movie" value=" http://www.youtube.com/v/eKD1C6V4wgc&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src=" http://www.youtube.com/v/eKD1C6V4wgc&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> Did you happen to have a look at what the value contains? It basically strips out the "watch?" bit without the quotes and replaces the equals sign with a forward slash / and thrown into two value fields. Hope that helps -- Thank you and regards, Allan Mobile : 021 159 3615 Blog: http://inconfused.com --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
