hi i want know how can i creat a basket shop and how work it? help me

Member Avatar
Member Avatar
+0 forum 1

Hello Everyone, I have to create a temporary table for basket. I have to include certain fields from different table. Now I know the code to create a temporary table "CREATE TEMPORARY TABLE", is that right? But I dont know how to choose different fields from different table. Let me specify that I only need to clues on how to proceed onto completing the task, as I am very new to PHP. Thank You.

Member Avatar
Member Avatar
+0 forum 2

Hi, I am building a basic shopping basket and the problem I find is that all the products, even with quantity of 0 are being displayed in the shopping basket. Please can anyone help!.. I don't know what I'm doing wrong. Thank you so much in advance! This is my code: function displayProducts(){ var quant = new Array (10); quant[1] = Number(getInput("prodA")); quant[2] = Number(getInput("prodB")); quant[3] = Number(getInput("prodC")); quant[4] = Number(getInput("prodD")); quant[5] = Number(getInput("prodE")); quant[6] = Number(getInput("prodF")); quant[7] = Number(getInput("prodG")); quant[8] = Number(getInput("prodH")); quant[9] = Number(getInput("prodI")); quant[10] = Number(getInput("prodJ")); var nameArray = new Array (name1, name2, name3, name4, name5, name6, …

Member Avatar
Member Avatar
+0 forum 4

Hi there, I am trying to combline results form a query into one variable/string without drastically changing the sites current code. Bacically I have been trying to add **rs2("name")** for each record into one string. For example, say the customer has "item1", "item2", and "item3" in their basket, well I want to combine each of these together into one single variable called **"stuffall."** (like "item1 item2 item3") The code I am using can be found below, and I have highlighted the problem areas using <<<>>>. I assumed, as in php, this would be possible by adding **rs2("name")** into a var …

Member Avatar
+0 forum 0

The End.