I have just tried DataAssist with the PCMS Builder admin template, and as usual the results page now has errors...
Warning: mysql_select_db() expects parameter 2 to be resource, null given in /Users/matthewstuart/Sites/bearmach/admin_cms/news.php on line 49
Warning: mysql_query() expects parameter 2 to be resource, null given in /Users/matthewstuart/Sites/bearmach/admin_cms/news.php on line 52
This is lines 49 to 53:
mysql_select_db($database_PowerCMSConnection, $PowerCMSConnection);
$query_WADAtbl_news = "SELECT fld_id, fld_headline, fld_keyarticle, fld_intro, fld_show FROM tbl_news ORDER BY fld_date DESC";
$query_limit_WADAtbl_news = sprintf("%s LIMIT %d, %d", $query_WADAtbl_news, $startRow_WADAtbl_news, $maxRows_WADAtbl_news);
$WADAtbl_news = mysql_query($query_limit_WADAtbl_news, $PowerCMSConnection) or die(mysql_error());
$row_WADAtbl_news = mysql_fetch_assoc($WADAtbl_news);
I've gone through the same process for three days now and I am getting nowhere, so please help!