What's wrong with this code?:
I seem to get value='value' rather than key='value'Code:while (list($key,$val) = each($_POST)){ if ($key != 'action' && $key != 'id') { $sql .= "$key='$val', "; } } echo $sql;![]()
|
Results 1 to 2 of 2
Thread: [Resolved] $_POST problem
|
Click Here to Expand Forum to Full Width |