Login   Register  
PHP Classes
elePHPant
Icontem

File: empty.php3

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Carlos Falo Hervás  >  basic_basket  >  empty.php3  >  Download  
File: empty.php3
Role: Example script
Content type: text/plain
Description: Empties the client' session basket
Class: basic_basket
Basic Shopping basket system
Author: By
Last change:
Date: 13 years ago
Size: 535 bytes
 

Contents

Class file image Download
<? require ("cookie.php") ;             ?>
<? 
require ("mysql_conn.php") ;            ?>
<? 
require ("mysql_recordset.php") ;            ?>
<? 
require ("mysql_command.php") ;        ?>
<? 
require ("data_init.php") ;             ?>
<? 
require ("del_session.php") ;        ?>
<? 
require ("add_session.php") ;        ?>
<? 
require ("basket.php") ;            ?>
<? $carrito 
= new basket("conn","productview.php3") ; ?>
<? $carrito
->empty_basket() ; ?>
<? $conn
->destroy() ;         ?>
<HTML>
<HEAD></HEAD>
<BODY onLoad = "javascript: location.replace('show.php')">
</BODY>
</HTML>