- Code: Select all
foreach($values as $val =>$array) {
//echo $val . '<br/>';
//var_dump($array);
if(is_array($array))
{
var_dump($array);
}
else
{
echo $val;
}
}
I can't find a way to read variables in URL or in a vector or in text form so that it return just
the value which is reapeating,in case it is only one value to display it or in case there are only
different values to display all of them.Please help me!It's pretty urgent.
For example if I have 1,2,3,1,4 i would like it to display 1,and if I have 1,2,3,4 to display all of them.
Need Help


