Re: Undefined variable problem
| From: | David Nicholson | Date: | Fri, 01 Aug 2003 13:53:58 +0000 |
| Subject: | Re: Undefined variable problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157933@lists.php.net to get a copy of this message | ||
Hello,
This is a reply to an e-mail that you wrote on Fri, 1 Aug 2003 at
14:47, lines prefixed by '>' were originally written by you.
> Notice: Undefined variable: email1 in
> c:phpdevwwwbwhprojectcompare.php
> on line 117
> $$tmp.= $value; /* ********This is the error line 117******* */
You are trying to append to the variable instead of create it, change
this line to:
$$tmp = $value;
David.
--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Professional Web Development by David Nicholson
http://www.djnicholson.com/
QuizSender.com - How well do your friends actually know you?
http://www.quizsender.com/
(developed entirely in PHP)