Topic: When calling PHP from XAJAX, problem using Include statement. Help.
I am trying to use a PHP include in my called function to store my DB connection variables. When I uncomment the include below and comment out the variables, my code does not work. I successfully use this PHP include in many other places, but only when called from XAJAX does this not work. This is a complete mystery to me. Thanks in advance for any of your suggestions.
<?PHP
require_once("./xajax/xajax_core/xajax.inc.php");
function process_form_data($form_data, $menu_update, $new_menu, $button)
{
$host = "xxxx";
$dbuser = "xxxx";
$dbpassword = "xxxx";
$dbname = "xxx";
/*include( "DBinfo.inc");*/