Re: [PHP] Undefined variable problem

2003-08-01 Thread David Nicholson
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

Re: [PHP] Undefined variable problem

2003-08-01 Thread Joona Kulmala
Hello This is the code: $m = 1; while ($line = mysql_fetch_assoc($rs)) { //dumping into an array foreach ($line as $field = $value) { $tmp = $field.$m; $$tmp.= $value; /* This is the error line 117*** */ } $m++; } This is basically so that i can use the

Re: [PHP] Undefined variable problem

2003-08-01 Thread Ryan A
IT WORKS!!! Thanks for replying and the solution. Cheers, -Ryan 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.=

Re: [PHP] Undefined variable problem

2003-08-01 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): Notice: Undefined variable: email1 in c:\phpdev\www\bwh\project\compare.php on line 117 [...] $m = 1; while ($line = mysql_fetch_assoc($rs)) { //dumping into an array foreach ($line as $field = $value) { $tmp = $field.$m; $$tmp.=