Web Hosting Talk







View Full Version : 6 months of free hosting, for someone to help me with arrays and sessions for a cart


knjhost
04-07-2002, 07:02 PM
I will throw in anywhere from 6 months to a year of free (no catch) hosting for someone who can lend me their PHP programming skills.

(SH)Saeed
04-07-2002, 07:51 PM
What exactly do you need and what kind of account are you offering?

knjhost
04-07-2002, 08:07 PM
The account I am offering is

350 MB
3000 MB
MYSQL
PHP
CGI-BIN
10 Subdomains
50 Email Accounts

if you need more info on the package go here http://www.knjhosting.com/hosting/knj350300.php


I am working on a shopping cart for my company that will allow people to either order a basic system or customize the system and order it. I know how to do all the basics, sql, user accounts, the actual cart you know that stuff is a peice of cake. Here where I am dying at and I need someone to write this for me, I will provide anyinformation you need including access to what little I already have.

Customer selects a system and then has a choice to configure it so they do.
so after they configure it now they send it to the cart to be added with the product id=XP1700
Now what happend if they go back the product catalog and select another system and decide to configure it.
They then submit that new configuration to the cart. wich replaces all the variables from the product they
had chosen before Now when they go to checkout I have two products, but now I only have one that has
what accessories they choose to go with the base systems. I am sorry I wrote so much to explain this I am just going nuts
it seems like I should know the answer but it just seems to be out of my grasp.

knjhost
04-07-2002, 08:11 PM
A guy I contacted for help gave me this to go with, but while I am getting better everyday I would have no Idea how to implemment it.

$shoppingCart = Array();

then when someone adds something, do this:

$shoppingCart[] = Array();
$current = count($shoppingCart)-1;
$shoppingCart[$current]["Brand"] = "Gateway";
$shoppingCart[$current]["Processor"] = "Athlon";
$shoppingCart[$current]["ClockSpeed"] = 1800;

and so on. of course you can fill those values in from a database or a form submission or whatever. you don't have to do it literally like I was.