1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to create a simple custom survey system

Discussion in 'PHP' started by Amiel Moreno, Jan 5, 2014.

  1. #1
    Hi guys, i was wondering if anyone here could help. i am making a thesis about online surveying. my problems are, i don't really have an idea how to code it, I'm aiming for the google type of survey, the one where you can custom choose any question type you want. i really need help with this problem. please help :)
     
    Amiel Moreno, Jan 5, 2014 IP
  2. BeltHosting

    BeltHosting Greenhorn

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #2
    That is really not hard.

    You need basic knowledge of HTML and PHP.
    <form action="" method="POST">
    <input type="text" name="somedataname">
    <input type="submit" value="Submit">
    </form>
    HTML:
    and then PHP part:
    <?php
    if ($_POST['submit']) {
        $name = $_POST['somedataname'];
        //dosomething with $name
    }
    ?>
    PHP:
     
    BeltHosting, Jan 5, 2014 IP
  3. Amiel Moreno

    Amiel Moreno Greenhorn

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    hi belthosting, i need the sample source code to make it as the reference. ehehehe. im really i newbie when it comes to this.
     
    Amiel Moreno, Jan 5, 2014 IP
  4. BeltHosting

    BeltHosting Greenhorn

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    I posted you the source code as a sample.
     
    BeltHosting, Jan 5, 2014 IP