Try
http://terra.di.fct.unl.pt/docs/php/function.array-multisort.php.htm
function array_csort()
{//coded by Ichier2003
$args = func_get_args();
$marray = array_shift($args);
$msortline = "return(array_multisort(";
foreach ($args as $arg)
{
$i++;
if (is_string($arg)) foreach ($ma
Is this what you need? (See below for inline suggestions).
[EMAIL PROTECTED] wrote:
Hi :)
I am creating an XML file out of a mysql query with nested arrays.
Currently I can get 1 element and 1 child with a properly formatted XML
file with the below script .
My question is: How do I add 3 to 4 m
A multidimensional array is just an array whose values are themselves
arrays. So ...
$thing="2002-11"; // or whatever
$issue=array();
$issue[$thing]=array();
$issue[$thing]['number']="this";
$issue[$thing]['headline']="that";
And if you ksort($issue), the key/value associations will be maintain
I know that enclosing form field names in [] makes them available as an
array
if the form were dynamically built like
PERSONS NAME (from database via $member_id )
next PERSONS NAME (from database via $member_id )
next PERSONS NAME (from database via $member_id )
etc
etc
I "think" I w
4 matches
Mail list logo