RE: [PHP] Sending data in table, multiple rows, via mail()

2002-07-09 Thread Thomas Edison Jr.
Hi, WOW... THANKS A LOT!! This actually did it .. i was on a slight wrong track.. > $realcontent = ""; > while ($myrow = mysql_fetch_array($result)) > { > $realcontent .= "$myrow['pid']"; > $realcontent .= "$myrow['nm']"; > $realcontent .= "$myrow['q']"; > } > Thanks, T. Edi

RE: [PHP] Sending data in table, multiple rows, via mail()

2002-07-09 Thread joakim . andersson
This bit looks kind of wierd. Don't know if it even should be possible to do like that... > $realcontent=" > > if ($myrow = mysql_fetch_array($result)) { > do { > > >$myrow[pid] >$myrow[nm] >$myrow[q] > > > } while ($myrow = mysql_fetch_array($result)); > } > > ";

Re: [PHP] Sending data in table, multiple rows, via mail()

2002-07-09 Thread Thomas Edison Jr.
Thank you for your *extreme* kindness... I do not know where to begin to make this happen. I created a variable and ran the entire do while loop to read contents of the table and tried storing them in the variable, which could be used as Content of the mail. However, i just get the Last Row in m

Re: [PHP] Sending data in table, multiple rows, via mail()

2002-07-09 Thread Jason Wong
On Tuesday 09 July 2002 17:01, Thomas Edison Jr. wrote: > Hi, > > Ok i have a bunch of rows in my table, with some data. > > I want my mail() function to be able to pick up the > data from the rows and send to a specified email. > > Basicall let's say there are 3 fields, and 3 rows, the > data sen