Re: [PHP] Including declare statements that contain variables

2001-11-14 Thread Fred
Jim Lucas <[EMAIL PROTECTED]> wrote in message 012301c16d3a$6def13c0$96def5cc@bendcom">news:012301c16d3a$6def13c0$96def5cc@bendcom... > Here are a few pointers to make it run just a little faster also. > > don't extract the entire $GLOBALS array. just use the $var that you need. > function GetDa

Re: [PHP] Including declare statements that contain variables

2001-11-14 Thread Jim Lucas
Here are a few pointers to make it run just a little faster also. don't extract the entire $GLOBALS array. just use the $var that you need. function GetData($Query) { return(mysql_query($Query, $GLOBALS[db_conn])); } another thing would be to build a wrapper function for mysql_query() and h