Trying to Create a text file with MySQL database errors because I never get to see the page.
mysql_query(
"INSERT INTO cart (value1) VALUES ('value1')", $link)
or die(mysql_error());
But I want to replace the mysql_error into a text file, any thoughts?