Re: How do I get one data only from the array() script?

From: Date: Fri, 23 Mar 2001 22:03:48 +0000
Subject: Re: How do I get one data only from the array() script?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45368@lists.php.net to get a copy of this message
best/easiest/bulkist way it to serialize it and urlencode it. <?php $test[] = 'chris'; $test[] = 'lee'; echo "<a href=''$PHP_SELF?". urlencode(serialize($test)) ..">test</a>"; ?> -- Chris Lee lee@mediawaveonline.com ""Scott Fletcher"" <scott@abcoa.com> wrote in message news:99gkbv$tcg$1@toye.p.sourceforge.net... Hi! I write the script for the array stuffs using hte array function --> $menu=array(0,0,1,0); I'm trying to get this array to carry over using the $PHP_SELF to the same page over and over. However, I'm not getting the right result. So, is there a better way? What about $menu[0]="1" and then use $menu as part of $PHP_SELF to carry it over to teh same page? Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#45368) next »