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:
Cart contains: items";
*/
//exit();
}
// Loads more code her
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
di
Original Message -
From: "Peter 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- h
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: http://
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
>
>
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
Sounds like ya wanna use a database that supports transactions, PostgreSQL
supports it. I'm kinda new to this so I'd check it out but I think this
could be what yer after.
Cheers,
Graeme :)
- Original Message -
From: "Dewi Wahyuni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesd
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
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=2&TypesOfInterests=11&recalculate=true
I'm using the following but it ain't workin so far.
foreach($shoppingcart['products'] as
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 "R
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 n
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
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
sage -
From: "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'
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.
he query by "LIMIT starting_point,number_of_records_to_return" at the end
> of the sql statement.
>
> Don't worry about the values in the column, just the amount of records you
> want to return
>
>
>
> Gary Every
> Sr. UNIX Administrator
> Ingram Entertain
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 wi
query by "LIMIT
> starting_point,number_of_records_to_return" at the end
> > of the sql statement.
> >
> > Don't worry about the values in the column, just the amount
> of records you
> > want to return
> >
> >
18 matches
Mail list logo