I need to get all variable from a page and put them in a string. what i need is the result to look like var1,value1,var2,value2,var3,value3
I have this
<?
unset($POST['submit']);
foreach($POST as $value)
{
$string = $string .','. $value;
}
echo $string;
?>
But I need to get the var part in also.