kevin7 Posted May 29, 2008 Share Posted May 29, 2008 Hi! I have a question, I saw from a tutorial, but i couldnt understand this, what's the difference with the following: mysql_query(some_query_string) @mysql_query(some_query_string) what does the alias mean? and, i saw some of the functions in a class have something like this function getPageNav($queryvars = '') why do they assign $queryvars to nothing? in what situation we need to do this? thanks! Quote Link to comment Share on other sites More sharing options...
next Posted May 29, 2008 Share Posted May 29, 2008 '@' suppresses error/warning messages. $queryvars's default value is blank, meaning that parameter doesn't have to be specified when you call the function. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.