|
address.inc.php - Mailing Address Functions
|
addressBook
Required Parameters: None
Optional Parameters: None
Returns: None
Description: This function includes form files to display the a list of mailing addresses associated with the user that is currently signed in. It depends on the $_SESSION['client'] array to determine who is signed in; if the element 'contactid' is set, then the client is already in the database, and if not, the client is new, with address information stored solely in the $_SESSION array. The number of elements in the $_SESSION['cart'] array determines whether there is anything already in the shopping cart. If it is called with a client who has not signed in at all, or a non-empty shopping cart, it will kick the user back to the confirmation page.
function addressBook()
|