RE: [PHP] Results In Variable

2006-02-06 Thread Arno Kuhl
Or just append it... Example: $var = ""; $result = mysql_query(³SELECT filename, page_title FROM table²); while ($row = mysql_fetch_assoc($result)) { $var .= "{$row[Œpage_title¹]}"; } echo $var; Arno DotContent www.dotcontent.net

Re: [PHP] Results In Variable

2006-02-06 Thread Austin Denyer
On Mon, 06 Feb 2006 07:14:21 -0600 Pastor Steve <[EMAIL PROTECTED]> wrote: > > Greetings, > > I am attempting to put the results of a ³while² loop into a variable. > > > Example: > > $result = mysql_query(³SELECT filename, page_title FROM table²); > while ($row = mysql_fetch_assoc($result)) >

RE: [PHP] Results In Variable

2006-02-06 Thread Peter Lauri
Put it in an array? -Original Message- From: Pastor Steve [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 8:14 PM To: PHP eMail List Subject: [PHP] Results In Variable Greetings, I am attempting to put the results of a ³while² loop into a variable. Example: $result = mysql_