I'm trying to move to laravel, and my old app still uses mysql_query. Is it possible to bypass the following error i'm getting in laravel?
ErrorException
mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Please let me know - rewriting all SQL queries is not an option right now. Maybe in the future, but right now, I want to get up and running.
Also, I'm using a DB class to run the queries through mysql, is there a better way to move to PDO vs rewriting every single SELECT, UPDATE, DELETE, and CREATE query?
Thanks!