HOWTO: Writing to ez's database?

Author Message

Dominik Pich

Tuesday 20 April 2004 12:48:17 am

I am writing a 'simple' extension which should list entries in a db and add entries to the db to keep track of items the user bought.

db:
user_ID | product_ID (node id)

eg.:
user U buys product P
pay
confirm
add P to db for U to acknoledge U has payed for P (no posting... should I use a datatype?)
list all products a user has bought. (mymodule/list)

Dominik Pich

Thursday 22 April 2004 12:38:14 am

nevermind.. used plain mysql

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.