URL, strange output??
Posted: Thu Mar 28, 2013 1:46 pm
Dear LiveCoders,
I'm trying to load some XML into Livecode, this works when I use a "hardcoded link":
But when I use a variable it doesn't work:
When I put the variable into a field, the links are identical. But when I put tXMLprofile into a field and I use a variable, it's different. It removes a part of the url, profile.php instead of profile.php/?id=1 and when I use the profile.php "hardcoded" the output is also different.
I think the problem is the URL part, is there a workaround? Maybe quote the variable, is this possible?
What am I doing wrong, any ideas?
Kind regards,
Chris
I'm trying to load some XML into Livecode, this works when I use a "hardcoded link":
Code: Select all
put URL "URL TO XML PAGE" into tXMLprofile
Code: Select all
put itemLinkHolder into tURLprofile
put URL tURLprofile into tXMLprofile
I think the problem is the URL part, is there a workaround? Maybe quote the variable, is this possible?
What am I doing wrong, any ideas?
Kind regards,
Chris