Re: First time user :-D

2009-02-25 Thread Luenyar
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

First time user :-D

2009-02-24 Thread Patrick Hereford
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 =

Re: First time user :-D

2009-02-24 Thread Olexandr Melnyk
Hello Patrick, could you paste full content of the file? On Wed, Feb 25, 2009 at 12:59 AM, Patrick Hereford pheref...@gmail.com 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 ';',

Re: First time user :-D

2009-02-24 Thread leop
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 post to this

Re: First time user :-D

2009-02-24 Thread Marcelo Andrade
On Tue, Feb 24, 2009 at 7:59 PM, Patrick Hereford pheref...@gmail.com 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

Re: First time user :-D

2009-02-24 Thread Patrick Hereford
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