I wanna insert 0 to some db table\'s fields but can\'t get it work. The piece of code from my signup php script looks like that.
...
if (isset($type)) {
You miss ' quote after $age. Also you should use {$data['lname']} instead of $data[lname] in quotes.