PHP array_flip() Bug?

KismAttilia

New Member
The weirdest thing is happening to me...I have a form I'm sending via an ajax post (using jquery's serialize function) to a php script running this function (stripped down for clarity):\[code\] $arr = $_POST; unset($arr['command']); unset($arr['index']); $vals = $arr; $keys = $arr; $keys = array_flip($keys); return 'vals= ' . implode(',',$vals) . ' keys = ' . implode(',',$keys);\[/code\]The String I sent that works looks like this...
V8kQ2.png
that gives me the result...
56LqJ.png
now when I Remove the "S" from "About" (in the title field) I get the data string that looks like this:
Cscbg.png
that gives me THIS result:
I0QwK.png
The "Title" key has been completely stripped out of the equation! Any Ideas what could be happening?
 
Back
Top