okay i have two pages
num1.php and num2.php
in num1.php i have an array:
$var=array ("0"=>"god",
"1"=>"dog",
"2"=>"gdo",
......
"10"=>"ooo"
okay something like that
i have a script doing calculation of each element of the array,i want a variable return the key of "dog", then carried it to num2.php, then the user will change "dog" to "cat" or "pig", bring it back to num1.php, replace the 2nd elements of the array, which WAS dog before.
i just want to know, how to set a var represent the key of "dog", so i can replace it after i come back from num2.php. help please
ff
num1.php and num2.php
in num1.php i have an array:
$var=array ("0"=>"god",
"1"=>"dog",
"2"=>"gdo",
......
"10"=>"ooo"
okay something like that
i have a script doing calculation of each element of the array,i want a variable return the key of "dog", then carried it to num2.php, then the user will change "dog" to "cat" or "pig", bring it back to num1.php, replace the 2nd elements of the array, which WAS dog before.
i just want to know, how to set a var represent the key of "dog", so i can replace it after i come back from num2.php. help please
ff