form forward not working

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
naveendk.55
Forum Newbie
Posts: 24
Joined: Tue Aug 16, 2011 10:13 am

form forward not working

Post by naveendk.55 »

[text]

Below code is not forwarding the action to codetesting.php. Please help

[/text]

Code: Select all


<html>
    
    <head> 
    
    </head> 
        
    <body>
    
        <form  method="post" action="codetesting.php"> 
            
<select name="Para">
    
<option value="Yes"> Yes </option>
<option value="No"> No </option>
<option value="NA"> NA </option>

</select>
      
        </form> 
    
   <input type="submit" name="submit" value="Submit"> 
        
        </body>
        
</html>


phphelpme
Forum Contributor
Posts: 261
Joined: Sun Nov 21, 2010 3:32 pm

Re: form forward not working

Post by phphelpme »

We need more details as the form above will forward your select value to the form but it depends on the codetesting.php script as to how it is handling it.

You say it wont forward so are there any error messages appearing? what service are you using to host this? what is the extention of your pages? have you included everything in your page of coding and we would need to see your codetesting.php anyway as the form above would work just fine.

Best wishes
Post Reply