This is what I get when I test the insert page:
Warning: mysql_select_db() expects parameter 2 to be resource, null given in /Users/matthewstuart/Sites/bearmach/admin_cms/tbl_news_Insert.php on line 25
Warning: mysql_query() expects parameter 2 to be resource, null given in /Users/matthewstuart/Sites/bearmach/admin_cms/tbl_news_Insert.php on line 29
and this is line 25 to 29:
mysql_select_db($WA_connectionDB, $WA_connection);
if (!session_id()) session_start();
$insertParamsObj = WA_AB_generateInsertParams($WA_fieldNames, $WA_columns, $WA_fieldValues, -1);
$WA_Sql = "INSERT INTO `" . $WA_table . "` (" . $insertParamsObj->WA_tableValues . ") VALUES (" . $insertParamsObj->WA_dbValues . ")";
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());