RE: Array questions...

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

 



On 05 March 2008 15:34, Jason Pruim advised:

> Okay so I'm replying to my own post... And top posting to boot! :P
> 
> Amazing what happens when you pull a few [] off.... for completness:
> 
> $NumArray = Array($_POST['txtNumArray']);
> 
> works as I wanted :)

Are you sure?? Looks a bit suspect to me, since $_POST['txtNumArray']
will already be an array, and what you've got there turns it into an
Array of Array.

>From your original message, I was about to suggest you wanted simply

  $NumArray = $_POST['txtNumArray'];

and I still suspect that might be more the mark.

(I was also wondering to myself whether you actually really, really
wanted $txtNumArray = $_POST['txtNumArray'], but perhaps you can easily
explain why not...?)

 --
Mike Ford,  Electronic Information Services Adviser,
JG125, The Headingley Library,
James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: m.ford@xxxxxxxxxxxxxx
Tel: +44 113 812 4730          Fax:  +44 113 812 3211


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux