professional-php-01-testCustomer.php / php
<?php require_once('class.SweepstakesCustomer.php'); //since this file already includes class.Customer.php, there's //no need to pull that file in, as well. function greetCustomer(Customer objCust->name!"; } //Change this value to change the class used to create this customer object promotionCurrentlyRunning) { objCust = new Customer(12345); } greetCustomer(
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.