inquiry button

Discussion in 'PHP' started by help_me, Nov 30, 2005.

  1. #1
    dear friends i want to put inquiry buton in my website like shopping cart(no payment option) , if user select any and then fill feed back form , i want to get list of selected item . how can i do it?
     
    help_me, Nov 30, 2005 IP
  2. help_me

    help_me Peon

    Messages:
    61
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    surprize no budy reply till? or no body have idea or no body understand question,
     
    help_me, Dec 1, 2005 IP
  3. HN Will

    HN Will Guest

    Messages:
    111
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yea try the question again. What exactly do you need?
     
    HN Will, Dec 1, 2005 IP
  4. help_me

    help_me Peon

    Messages:
    61
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    for example i have a static web site and suppose i have 10 product , i want when visitor click on check box any one or more product and then click on submit button i message via e mail that visitor want to information about these product
     
    help_me, Dec 1, 2005 IP
  5. HN Will

    HN Will Guest

    Messages:
    111
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    sure - set up a link to a php script that calls the mail() function.

    (from http://us2.php.net/function.mail )
    <?php
    $to = 'nobody@example.com';
    $subject = 'the subject';
    $message = 'hello';
    $headers = 'From: ' . "\r\n" .
    'Reply-To: ' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

    mail($to, $subject, $message, $headers);
    ?>
     
    HN Will, Dec 2, 2005 IP