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
 [EMAIL PROTECTED]


""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message 
99gkbv$tcg$[EMAIL PROTECTED]">news:99gkbv$tcg$[EMAIL PROTECTED]...
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to