Changing input for a Verification Question

Discussion in 'PHP' started by MVPExchange, Sep 22, 2011.

  1. #1
    When a new person registers on my site they have to answer a verification question. Basically the answer to this question is 9. I want to change this so the user has to input 12. I am not sure if this is the code where it should be edited but I think it is. I highlighted the part I think needs to be changed. What do I need to edit here?

    <DIV id="container">
    <?php
    if ($_GET['status']=='welcome') {
    ?>
    <div id="welcome-message" title="Welcome to MVP Exchange">
    <center><img src="images/logo2.JPG" alt="MVPExchange"></center>
    <p class="validateTips">
    <?php
    $ssql="Select content from jm_news WHERE id=156;";
    $result=mysql_query($ssql,$connection) or die('Problem with listing news headlines: ' . $ssql);
    $row=mysql_fetch_array($result);
    echo $row['content'];
    ?>
    </p><br/>

    <strong>Follow these 3 Guidelines and you will WIN REAL CASH.</strong><br/><br/><br/>
    <P ALIGN="LEFT">
    1. Athletes receive <strong>BONUSES</strong> for their performances in games. These are awarded the morning after the games at <strong>9 AM Eastern</strong>. <br/><br/>

    2. Bonus sizes depend on the athletes <strong>ESTIMATES</strong>. The Higher the estimates the Lower the bonus. <br/>
    <strong>Example</strong> - Albert Pujols has high Estimates, Luis Castillo has low Estimates. <br/><br/>

    3. Athletes whose sports are <strong>NOT IN SEASON</strong> will make you <strong>NO MONEY</strong>. So do not waste your time on MLB players in the winter or NFL players in the summer. <br/><br/><br/><br/>
    </p>
    These are just the basics. If you have more questions check the Rules or Forum sections. <br/><br/><br/>

    Verification Question:<br/>
    Bonuses are awarded at <input type="text" name="r" id="r" value="" size="2" style="text-align: center; border: none; border-bottom: 1px solid #CCCCCC; background: transparent;"/> AM Eastern Time.
    </div>
     
    MVPExchange, Sep 22, 2011 IP
  2. jevchance

    jevchance Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    2
    Trophy Points:
    0
    #2
    This doesn't appear to have the code you are looking for.

    Check the "action" attribute on the "form" element. That script will likely have the code you are looking for.

    
    <form action="SCRIPT.PHP" method="POST">
    
    Code (markup):
     
    jevchance, Sep 23, 2011 IP