PHP shopping cart

any one got a simple php shopping cart for use on a site with a limited product range? i.e. less than 20 products....

i need one thats simple, preferable without SQL but i wil consider anything...

it doesnt need to have a secure merchant interface, just the skelteon code will do...

i've written similar things in perl - guestbooks and cgi forms and the like...

but i need to get this in php....

:)
 
Sorry, no.

However, it's probably fairly simple to use sessions to pass arrays between pages.
 
Originally posted by GilesGuthrie
Sorry, no.

However, it's probably fairly simple to use sessions to pass arrays between pages.

ouch....sessions, i though you were gonna say that :lol:

i cant seem to get my head round sessions, meybe its the book i have O'reilly's 'Programming PHP' by Lerdorf & Tatroe

do you have any book suggestions on learning PHP...are the Wrox books any good?

i have actually designed one using sessions but when ever i refesh the browser more stuff gets added to the cart...
maybe if you have a spare 5 mins you could have a look at the code....its very very simple....it doesnt use a dbms..
 
OK, On the book thing, I used Luke Welling & Laura Thomson's PHP & MySQL Web Development, which was excellent.

On the sessions thing, yes, I'm afraid you're going to have to do it. But it's not hard once you get your head around it.

Feel free to post code up here and I'll have a look when I have time.
 

Latest Posts

Back