I want this to work:
mysql_query($queryString) or dberror(mysql_error());
It doesn't work because the $error variables outside and inside the function are in different scopes
I know I can use global variables to make it work (ie: inside the function use "global $error") but I understand that it is taboo to use "global."
Is there another way I could achieve this? Maybe with variable pointers or some other way?