Login   Register  
PHP Classes
elePHPant
Icontem

File: insert.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  >  insert.php3  >  Download  
File: insert.php3
Role: Example script
Content type: text/plain
Description: Inserts a product in a client' session basket
Class: basic_basket
Basic Shopping basket system
Author: By
Last change:
Date: 2001-02-07 07:15
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.php") ;  ?>
<? $carrito
->insert($id,1) ; ?>
<? $conn
->destroy() ;        ?>
<HTML>
<HEAD></HEAD>
<BODY onLoad = "javascript: location.replace('show.php')">
</BODY>
</HTML>