In functions.php I have a function called getUser. I want to use that function in ajax_functions.php, but when I call it, I get the "Function does not exist" message. I used include to include the functions.php file into ajax_functions.php but that gave errors saying it couldn't open such folders as libs/Smarty.class.php.
How can I call getUser in the ajax_functions.php when the function is wrote in functions.php I hope I don't have to have the function in both pages, I was hoping to just have it in the one.
Hope you understand... thanks for the help if any.