Results 1 to 2 of 2
  1. #1

    Default Product additional info by customer

    I am begginer with php and DB so i have this issue.

    I need the customers of the store to add specific description like a poll.

    The page

    This is the options I want.

    HTML Code:
    <p align="left"><strong>
        <select name="choice">
    	 <option value="1"> 1 път дневно</option>
    	 <option value="2"> 3 пъти дневно</option>
     	 <option value="3"> 5 пъти дневно</option>
      	 <option value="4"> 9 пъти дневно</option>
         <option value="5"> 14 пъти дневно</option>
         <option value="6"> 20 пъти дневно</option>
    	</select>
          </strong></p>
    <input type="submit" name="submit" value="Send">
    I need after a customer chose one from them and press the send button, how to make the chosed option value to be stored for the current product in DB, сo then I can call the data and show it like average result on the products page.

    I just need a hint how to import the chosed value in to the DB and how to cal it back afterwards.

    Many thanks

  2. #2

    Default Re: Product additional info by customer

    I supose using

    INSERT INTO products_user_spec (column1, column2, column3,...)
    VALUES (value1, value2, value3,...)

    products_user_spec will be the new table i'll create,

    but how to asign a value for the current product id it is mistery for me :)

 

 

Similar Threads

  1. v151 Problem & solution to additional customer status emails without customer info
    By delia in forum Managing Customers and Orders
    Replies: 8
    Last Post: 11 Jul 2013, 02:12 AM
  2. Customer Info Additional Information area
    By swdynamic in forum Managing Customers and Orders
    Replies: 0
    Last Post: 26 Jan 2011, 05:52 PM
  3. Replies: 11
    Last Post: 20 Apr 2009, 10:22 PM
  4. Need additional Customer Info
    By DesignbyDemeter in forum Managing Customers and Orders
    Replies: 1
    Last Post: 8 Jun 2006, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg