Menu
Hi,
Could someone please help me solve this issue?
I am trying to pass a variable from the URL into a script that will generate XML for a flash player to display images.
It appears to work the variable is passed through the URL:
eg [url]www.mmyywebsite.com/viewproject.php?client_name=ollie
it is retrieved using $client_name = $_GET[‘client_name’];
but when I try to insert it into the code to generate the XML it will not work:
<pic>
<image>clients/”.$client_name”./7.jpg</image>
<caption>Project One</caption>
</pic>
(this is partial XML, it does work but only when hard coded)
what am I doing wrong?
thank you
Ollie