Wow, I should RTFM. It actually made some sense to me, but I got a little lost...
So this is correct:
if ($_GET['action']=='approve' && isset($_GET['uid'])) {
$user_approval_query = "UPDATE users SET approved=1 WHERE user_id = '$_GET[uid]'";
but if it is $_GET[$field] I would NEVER single quote it, right?
Ok, so when do you use curly braces around it? Should you just do it all of the time? No, because this would throw and error, right?
if ({$_GET['action']}=='approve' && isset({$_GET['uid']}))
but this would be ok, or even better?
$user_approval_query = "UPDATE users SET approved=1 WHERE user_id = '{$_GET[uid]}'";
😕