FatCow is one of the leading webhost in the internet today. FatCow Web Hosting. Free Trial , Free Setup, Free Support, All risk free!
Visit: FatCow.com
I write a small object oriented PHP script for my shopping chart. I verify each function individually. When I write codes in single file they are working fine. But when I isolate them in different files it shows error that undefined function. But that function is inside my functions.php file. Here is my code.
Code:
<?php include items.php; include functions.php; include config.php; $item= new items($itemID); $cost=$item->cost(); …………… …………… ?>
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum