PHP Fatal error: Call to undefined function getAntModelTblInfo()?

pandemonium7386

New member
Can anyone tell me why I keep getting this error, and what I can do to stop it?

Also, please note that antModelTbl is related to another table called antVendorTbl in a one-to-one relation (so without a antVendorTbl, there is no antModelTbl). This seems to be the problem, because the antVendorTbl works perfectly fine.

PHP Fatal error: Call to undefined function getAntModelTblInfo() in /var/www/html/php/findAntModelTblInfo.php on line 6

Code:
<?php
//load the function to get all info from antModelTbl
include("getAntModelTblInfo.php");

//getInfo($site, $field) where site is the amAntVendorID and field is column field i.e. "siteZip"
getAntModelTblInfo(1, antModel);
?>
 
you need to make sure getAntModelTblInfo() is really in the getAntModelTblInfo.php


and change include("getAntModelTblInfo.php");
to
include('getAntModelTblInfo.php');
 
Back
Top