永发信息网

PHP 练习

答案:1  悬赏:50  手机版
解决时间 2021-05-03 15:18
  • 提问者网友:我一贱你就笑
  • 2021-05-03 05:29

1.  Modify the file handle_form.php to ensure that the user enters all of the required information, include:

§    Validation for the name field

§    Validation for the email field

§    Validation for the gender field

§    Validation for the age field

§    Validation for the comment field

    2.Create a Boolean variable to flag whether all the input is valid. Initially set this variable to true. If any of the form input is invalid set this variable to false.

 Use the Boolean variable to either display the entered information (as before) or to display a message informing the user to go back and correctly complete the form




最佳答案
  • 五星知识达人网友:煞尾
  • 2021-05-03 05:46
1.对 2.错 3.对 4.对 5.错 6.错 7.错 8.错 9.对 10.错 11.错 12.对 13.错 14.错15.错 16.对 17.对 18.错 19.错 20.错
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯