Login   Register  
PHP Classes
elePHPant
Icontem

File: delete.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  >  delete.php3  >  Download  
File: delete.php3
Role: Example script
Content type: text/plain
Description: Deletes all entries for 1 product on a client' session
Class: basic_basket
Basic Shopping basket system
Author: By
Last change:
Date: 13 years ago
Size: 593 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
->delete($id) ; ?>
<? $conn
->destroy() ;      ?>
<HTML>
<HEAD></HEAD>
<BODY onLoad = "javascript: location.replace('show.php')">
<!-- Uses Replace so BACK doesn't call this script again -->
</BODY>
</HTML>