RE: [PHP] Results In Variable

2006-02-06 Thread Arno Kuhl
www.dotcontent.net -Original Message- From: Pastor Steve [mailto:[EMAIL PROTECTED] Sent: 06 February 2006 03:14 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_query(³SELECT

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

[PHP] Results In Variable

2006-02-06 Thread Pastor Steve
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)) { $var = ³{$row[Œpage_title¹]}²; echo ³$var²;