RE: sending array data using php mail

2003-12-27 Thread Abs
--- Mike Johnson <[EMAIL PROTECTED]> wrote: > > For the record, there's a syntax error in there -- > the closing curly brace is missing. > > echo "{$row["Password"]}\n"; >^ > > Also, I've never tried this syntax with > double-quotes. Do the curly braces keep the PHP > par

RE: sending array data using php mail

2003-12-10 Thread Mike Johnson
From: Abs [mailto:[EMAIL PROTECTED] > hi > the error is in this line: > $newvalue = $row["Password"]; > make it > $newvalue.= $row["Password"]; > (notice ^ the dot - for concatenation with the > previous value). > > and if u want to see each password in the browser too, > in that same loop, put:

RE: sending array data using php mail

2003-12-10 Thread Mike Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Hi, can anyone tell me what is the problem of my script: > > $sql2 = "SELECT * FROM Cash WHERE HP='$HP' and > SignUpDate='$SignUpDate'"; >$rows1 = mysql_query($sql2,$linkptr1) ; > > >$OwnnerMail ="[EMAIL PROTECTED]"; >$

Re: sending array data using php mail

2003-12-09 Thread Abs
hi the error is in this line: $newvalue = $row["Password"]; make it $newvalue.= $row["Password"]; (notice ^ the dot - for concatenation with the previous value). and if u want to see each password in the browser too, in that same loop, put: echo "{$row["Password"]\n"; so it would now look like:

sending array data using php mail

2003-12-09 Thread catherine
Hi, can anyone tell me what is the problem of my script: $sql2 = "SELECT * FROM Cash WHERE HP='$HP' and SignUpDate='$SignUpDate'"; $rows1 = mysql_query($sql2,$linkptr1) ; $OwnnerMail ="[EMAIL PROTECTED]"; $Subject = "Testing"; while ( $row = mysql_fetc