I'm parsing an installer file, and this damn error keeps popping up on line 14. Any ideas? Someone said to me it might be a PHP4 vs PHP5 issue? <?php @include( "includes/config.inc.php" ); if( @$_POST['action'] == "Install" ) { if( !file_exists( $_POST['basePath']."/includes/config.inc.php" ) ) { echo "Base Path is incorrect<br />"; die(); } @mysql_connect( $_POST['mysqlHost'], $_POST['mysqlUser'], $_POST['mysqlPass'] ) or die( "Could not connect to SQL server!" ); @mysql_select_db( $_POST['mysqlDB'] ) or die("Database Not Accessible!"); DROP TABLE IF EXISTS `articles`; Code (markup):
DROP TABLE IF EXISTS `articles`; Code (markup): This line throws an error. Regardless of the PHP version. It should be: mysql_query("DROP TABLE IF EXISTS `articles`") OR die(mysql_error()); PHP: