Re: [PHP-DB] Splitting Product Catalogue Over Multiple Pages?

2003-06-27 Thread Boa Constructor
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

Re: [PHP-DB] re:[PHP-DB] Splitting Product catalog

2003-06-27 Thread Boa Constructor
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

Re: [PHP-DB] Splitting Product Catalogue Over Multiple Pages?

2003-06-27 Thread Boa Constructor
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

[PHP-DB] Splitting Product Catalogue Over Multiple Pages?

2003-06-26 Thread 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.

[PHP-DB] extract( $HTTP_POST_VARS ); ------------ what does this do?

2003-06-24 Thread Boa Constructor
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

Re: [PHP-DB] Re: extract( $HTTP_POST_VARS ); ------------ what does this do?

2003-06-24 Thread Boa Constructor
: 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

[PHP-DB] Session Question

2003-06-14 Thread Boa Constructor
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

[PHP-DB] Email confirmation?

2003-06-11 Thread Boa Constructor
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

[PHP-DB] Removing cart items with hyperlink question

2003-06-08 Thread Boa Constructor
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

[PHP-DB] Passing URL parameters to array question.

2003-06-05 Thread Boa Constructor
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

[PHP-DB] Shopping Cart Updating Quantities Question.

2003-06-04 Thread Boa Constructor
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

[PHP-DB] Array Question

2003-06-03 Thread Boa Constructor
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:

Re: [PHP-DB] Array Question

2003-06-03 Thread Boa Constructor
) 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

[PHP-DB] Adding elements to array question

2003-06-03 Thread Boa Constructor
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

Re: [PHP-DB] Shopping Cart Sessions - Think this is a simple prolem- hopefully

2002-11-14 Thread Boa Constructor
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

[PHP-DB] Shopping Cart Sessions - Think this is a simple prolem - hopefully

2002-11-13 Thread Boa Constructor
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();

Re: [PHP-DB] upload data to MySql

2002-11-13 Thread Boa Constructor
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