xbl1 Posted December 17, 2006 Share Posted December 17, 2006 Hello; I want to print out some value when a user click on a check box. But my code does not works, could you tell why, thanks. <html><body><form action='deleteR.php' method="POST"><input type="checkbox" name="bike">i have a bike. <br><input type="checkbox" name="car">I have a car.<br><input type="submitD" value="submit"><input type="reset" value="reset"></form></body></html> in the deleteR.php file <?if($_POST['bike']!=null) echo "This is bike ";echo "<br>";if($_POST['car']!=null) echo " This is car.";?> Link to comment Share on other sites More sharing options...
liuyang Posted December 18, 2006 Share Posted December 18, 2006 <input type="submit" value="submit"> Link to comment Share on other sites More sharing options...
xbl1 Posted December 18, 2006 Author Share Posted December 18, 2006 <input type="submit" value="submit">Thanks a lot Link to comment Share on other sites More sharing options...
liuyang Posted December 18, 2006 Share Posted December 18, 2006 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now