Re: Array questions...

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

 




On Mar 5, 2008, at 10:35 AM, Robert Cummings wrote:

I think you want the following after performing a very cursory look at
your sample.

<?php

$NumArray
   = isset( $_POST['txtNumArray'] )
   ? $_POST['txtNumArray']
   : array();

?>

Mind if I ask why setting it that way would be bettter? Other then the fact that it looks like it might possibly handle some of the errors I'm getting right now because I don't have the arrays defined before this?

Or did I just answer my own question?


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
japruim@xxxxxxxxxx




--
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