Re: Subject: Extracting values from an array (I think)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Get your array from mysql_fetch_assoc() you can then use as an alternative, the extract() function :

http://uk2.php.net/manual/en/function.extract.php

Cheers - Neil.

At 20:04 24/11/2003 +0000, you wrote:
To: php-db@xxxxxxxxxxxxx
MIME-Version: 1.0
From: dpgirago@xxxxxxxxxxxxxx
Date: Mon, 24 Nov 2003 12:44:37 -0600
Subject: Extracting values from an array (I think)

Hello All,

I'm familiar and comfortable with selecting and utilizing one record at a
time in my php-mysql gui / application. But now I'm faced with having to
select one field from 24 records and assign the results to 24 different
variables.

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux