Danny696 Posted May 24, 2010 Posted May 24, 2010 This is a simple mod, just to log errors. SQL's [mysql]CREATE TABLE IF NOT EXISTS `error_logs` ( `ID` INT(11) NOT NULL auto_increment, `Time` INT(11) NOT NULL, `Error` VARCHAR(225) NOT NULL, `Query` TEXT NOT NULL, PRIMARY KEY(`ID`) ) auto_increment=1;[/mysql] Then open your databse class diver find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. after the bracket add this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then after that whole function (or before the You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ) add this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open Staff_logs.php beofre You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Its a simple table, no pagnation, because i simple cbb :P open smenu, find staff logs link, add this before/after: (still in the same print statment) > Error Logs Quote
Jordan Palmer Posted May 24, 2010 Posted May 24, 2010 echo'<center><h3>Cash Xfer Logs</h3></center> LOL :p Quote
CrazyT Posted May 24, 2010 Posted May 24, 2010 LOL self::$query? Guess you was trying to copy me on the last topic of me doing self::$link/self::$connection lol? I think you need to read up what it does and how it works ;) - That's why i was referring to the database class.. Quote
Danny696 Posted May 24, 2010 Author Posted May 24, 2010 self::$query i dont see it. and jordan sush Quote
Jordan Palmer Posted May 24, 2010 Posted May 24, 2010 @Danny - At the start off the query - Where you would use mysql_query.. Quote
Guest Posted May 24, 2010 Posted May 24, 2010 lol @ This post has been edited 1 times, last edit by "Danny696" (Today, 3:50pm) :P Quote
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.