function givemeposts($user, $pos){
$sql = "select * from posts where user ='" . $user . "' and pos = '" . $pos . "' order by inde";
...
givemeposts('public', 'home01'); // this works as usual
Now I nedd to call the above function, but without $pos
param, i.e. whatever $pos
value is.
Something like:
givemeposts('public', whatever);
Any way to do this?