What are the standard/ rules for getting specific variables such as get variables, post variables, and variables in MySQL queries.
for post and get i always do:
$body = current($HTTP_POST_VARS);
$name = next($HTTP_POST_VARS);
and for mysql queries i always:
extract($row);
after making the query
Is there a way i can simplify this?