InsidiousMennace Posted March 4, 2013 Share Posted March 4, 2013 Hey guys, I recently started on a mysql logger, at this point in time it's not inserting the required info into my_log table. What am I missing? Please help! php Files attached. config.php index.php Quote Link to comment https://forums.phpfreaks.com/topic/275213-mysql-logger-not-inserting-into-table/ Share on other sites More sharing options...
Solution spfoonnewb Posted March 4, 2013 Solution Share Posted March 4, 2013 Your MySQL $db object is not an instance of MySQLi for one thing. Try var_dump(write_mysql_log('Something Happened', $db)); to get the response. Quote Link to comment https://forums.phpfreaks.com/topic/275213-mysql-logger-not-inserting-into-table/#findComment-1416462 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.