Login   Register  
PHP Classes
elePHPant
Icontem

File: delete

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of kostas gougakis  >  Shopping basket with MySQL connection  >  delete  >  Download  
File: delete
Role: Example script
Content type: text/plain
Description: delete item from basket
Class: Shopping basket with MySQL connection
Shopping basket stored in a MySQL database
Author: By
Last change:
Date: 2004-09-02 06:33
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>