Re: class method() definition ??? parse error, expecting `')'' ...
| From: | Peter Fraterdeus | Date: | Thu, 05 Oct 2000 03:52:46 +0000 |
| Subject: | Re: class method() definition ??? parse error, expecting `')'' ... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18697@lists.php.net to get a copy of this message | ||
At 7:48 PM -0700 10/4/00, Charles Killian wrote:
>Add a ; after the first ]
>
>function set_Profile( $this->$UID ) //
>{ $this->customer_ID=$this->form['customer_ID'];
> $this->name_first=$this->form['name_first'];
>$this->name_last=$this->form['name_last'];
>...
>}
Hi, Charles--
Thanks, but this is actually just missing in the fragment I copied...
the code, in fact, looks like this:
--------
function set_Profile_shipping($this->UID) //
{
$this->customer_ID=$this->form['customer_ID'];
$this->name_first=$this->form['name_first'];
$this->name_last=$this->form['name_last'];
$this->company=$this->form['company'];
...
-------
regards
PF
--
AzByCx DwEvFu GtHsIr JqKpLo MnNmOl PkQjRi ShTgUf VeWdXc YbZa&@
Peter Fraterdeus http://www.midsummernightstamps.com
Magical Images from the Moon's Garden!
Type on the Edge of History; In Search of the Wild Photon, &c.
http://www.dezinecafe.com/fraterdeus
BookSense http://www.booksense.com
Independent local booksellers on the web.