if you have return $varname; in a function call, how do you then use that variable?
ex:
function test() {
$sql_query = 'select * from table';
return $sql_query;
}
is it possible to return a query like this? basically i want the function to simply query the database based on passed info, and have the parsing be handled by the calling page.