Use this code and see if you get any error messages. If you do, please post them here. It's easier to help you then...
$SQL = "SELECT * FROM ProductInfo WHERE ProductName=$DataKey ORDER BY ProductName";
$result = mysql_query($SQL, $GLOBALS[link]) or die( mysql_error() );
while ($AP = mysql_fetch_array($result)) {
include('productinfoformdatatable.php');
}