> -----Original Message-----
> From: Roman Duriancik [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 08:40
> 
> I have one small problem. I have array e.g $array but I don't know
> how to finding arguments and values of this array.
> 
> e.g
> 
> $array["aa"] = 1;
> $array["ab"] = "some";
> ...
> 
> and script send me :
> 
> arguments aa : values 1
> arguments bb : values some

foreach ($array as $arg=>$val):
   echo "arguments $arg : values $val<br>\n";
endforeach;

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to