I'm attempting to use DealGates PHP file downloaded from this site, however I have run into a problem, When I surf to the file "dealgates_pipeline.php" I get this error

": SQL error Table 'MyDatabase_zc1.categories' doesn't exist| catInfo = SELECT categories.categories_id AS curCatID, categories.parent_id AS parentCatID, categories_description.categories_name AS catName FROM categories, categories_description WHERE categories.categories_id = categories_description.categories_id:"

now in the PHP file it calls the database which is " wagnert_zc1" but then it looks for a table " categories" but its looking for the prefix of _zc1, when it actually have the prefix of "zen_".

So how do I tell it to look for/or use the correct prefix to load the program??

Here is a bit of the code:
$home = "locohost" ;
$user="MyUserName_zc1";
$pass="XxXxXxXxXx";
$base="MyDatabase_zc1";

Then there is the actual call for the catorories table:
if (!($link=mysql_connect($home,$user,$pass)))
{
echo "Error when connecting itself to the data base";
exit();
}
if (!mysql_select_db( $base , $link ))
{
echo "Error the data base does not exist";
exit();
}

Any SQL/PHP experts out there that can help?