to return
Gary Every
Sr. UNIX Administrator
Ingram Entertainment
(615) 287-4876
Pay It Forward
mailto:[EMAIL PROTECTED]
http://accessingram.com
-Original Message-
From: Boa Constructor [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 10:25 PM
To: [EMAIL PROTECTED
Michael, thank you so much for that code. I think I could maybe get this
working properly. I've got 2 categories and 4 products in each and I want
to split them in to 2 pages, 2 products on each. So obviously I will have 2
links at the bottom page 1 2.. etc when I click the link 2 I will
at
http://www.mysql.com/doc/en/SELECT.html
Search for limit on that page.
Gary Every
Sr. UNIX Administrator
Ingram Entertainment
(615) 287-4876
Pay It Forward
mailto:[EMAIL PROTECTED]
http://accessingram.com
-Original Message-
From: Boa Constructor
Greetings all, I'm not sure if this has been discussed recently, I've read
bits and pieces and I can't remember where I read everything so if it has
been brought up recently - sorry.
If I do an SQL (MySQL) query on the first example to get the min and max IDs
then I will get 1 and 6 respectively.
I'm wanting to overwrite the variables contained in a session, I read on the
net somewhere that I could do this by explicitely making variables global,
the code I looked at contained this:
extract( $HTTP_POST_VARS );
What exactly does this do?
Cheers,
Graeme :)
--
PHP Database Mailing List
: Pete Morganic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 6:32 PM
Subject: [PHP-DB] Re: extract( $HTTP_POST_VARS ); what does
this do?
http://uk2.php.net/extract
Boa Constructor wrote:
I'm wanting to overwrite the variables contained in a session, I read
Greetings all,
Now that my shopping cart is just about complete I've been working on the
rest of the order process.
I have got two pages before finally placing an order. The first page takes
address details and the next page prints them all out with the contents of
the shopping cart so the user
Greetings every1 I'm wondering how I can send the details of an
order to an email address. I have a foreach loop which loops through an
array and each time round the loop it runs a query on the database to get
product details. If for instance they ordered 5 different items then I
would
Hey all, OK, I've made quite a bit of progress with my shopping cart and I'm
at the stage of removing items from it. If I change the quantity to 0 and
click the submit button the item is removed. However it isn't obvious how
to remove items so I want to put a link next to each item that says
Hey all, anyone know how I can pass an array of parameters to an array?
Basically if I want to pass the parameters in a URL, for example:
viewcart.php?quantity%5B14%5D=2TypesOfInterests=11recalculate=true
I'm using the following but it ain't workin so far.
foreach($shoppingcart['products'] as
Greetings all, Ok, I've made some progress with my shopping cart. I can now
update the quantity of one item only. When I try to update the quantities
of 2 products it only lists the first product with its previous quantity. I
also need to press the update quantity button twice for the quantity
Hello everyone. If I wanted to pass a item ID along with a quantity to an
associative array called CartArray how would I pass it to the PHP script?
I'll get this shopping cart working yet !!
Cheers,
Graeme :)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
) 287-4876
Pay It Forward
mailto:[EMAIL PROTECTED]
http://accessingram.com
-Original Message-
From: Boa Constructor [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 2:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Array Question
Hello everyone
Hey again all, right I've tried using an associative array for my shopping
cart and I've encountered two problems - so far. The first problem is that
I can't only add one item to the cart and the second problem is that when
viewing the cart it shows two items in it. I think this is because there
Beckman [EMAIL PROTECTED]
To: Boa Constructor [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 14, 2002 3:41 PM
Subject: Re: [PHP-DB] Shopping Cart Sessions - Think this is a simple
prolem- hopefully
1. Are you 100% sure register_globals is turned on?
2. You session_register your
Evening all, I'm pretty stumped with this basic shopping cart I'm trying to integrate
into my site, if u wanna see what I'm on about visit
http://www.hostmaster-x.co.uk/Products.php. On my products script I've got the
following:
?php
$shoppingcart = array();
session_start();
I'm new to file uploads, however I managed to get it working. Are you
copying the file after its been uploaded? If not you need to do this as the
temp file is destroyed after the script has finished running so you need to
copy it if you wish to store it. You also will have to chmod 777 to the
17 matches
Mail list logo