One option is to use the extract function.
http://uk.php.net/manual/en/function.extract.php
If the $POST array looks like this
code=php[/code] then doing
extract($_POST)
would create 2 variabes, $name with a value of 'robin' and $id with a value of 12.
I don't like this approach though, there could be secuirty vunrabilites.
To save typing $POST all the time you could create a reference to $POST and use it as a shortcut:
$v = &$_POST
Now $v and $_POST are effectively the same variable, changes made to one will effect the other and you could use
$v['name']
to get the value 'robin'.