As Marcelo hinted, $this->$name and $this->$data are not correct
(hint: too many $). Also after that is resolved you will still have
another issue, unless I am seeing it wrong, because it looks like you
will be missing the ampersand before 'n=' in your query string as it
is written now.
Good luc
Hey everyone. Thanks for responding. Before I paste the full code, let me
explain in more detail what I am trying to do.
When someone signs up on my website, they have to have an account on another
website. The website is give or take in this structure
http://www.website.com/info.xml?r=value1&y
On Tue, Feb 24, 2009 at 7:59 PM, Patrick Hereford wrote:
> Hey everyone. I am having some trouble with this model class. The error it
> is giving me is the following:
> "Parse error: syntax error, unexpected ';', expecting T_FUNCTION" on the
> last line with the bracket.
> Any advice?
Welcome,
>> "http://www.website.com/product.xml?x=".$this->$data[$this->$name]['value1']."y=".$this->$data[$this->$name]['val
>> ue2'];
I see whitespace.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To
Hello Patrick,
could you paste full content of the file?
On Wed, Feb 25, 2009 at 12:59 AM, Patrick Hereford wrote:
> Hey everyone. I am having some trouble with this model class. The error it
> is giving me is the following:
> "Parse error: syntax error, unexpected ';', expecting T_FUNCTION"
Hey everyone. I am having some trouble with this model class. The error it
is giving me is the following:
"*Parse error*: syntax error, unexpected ';', expecting T_FUNCTION" on the
last line with the bracket.
Any advice?
Model Class:
uses('Xml');
function isValid($value)
{
$url =