Check out my thread on a similar issue...
http://www.sitepoint.com/forums/showthread.php?t=158703
Tryst
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rch 22, 2004 11:58 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] MySQL query to generate Array
Are you trying to create a breadcrumb trial?
Tryst
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing Lis
Are you trying to create a breadcrumb trial?
Tryst
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot;] = $row[1];
array_push ($array2,$array1[1]);
}
// end foreach
// Example
// $array2[10]["URL"] now contains the 10th URL value
// $array2[10]["URLN"] now contains the 10th URLN value
- Original Message -
From: "Tony Devlin" <[EMAIL PROTECTED]>
To:
How do you setup a mysql query to generate an array?
I want to take URL and URLName from a database and use it to create an array
called links.
I know how to do the array and the mysql seperately, I don't know how to
make the results of
the mysql become the key=>value pairs in the array.
Any