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
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))
>
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
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²;
4 matches
Mail list logo