seu-users / File

1 stars 1 forks source link

今天遇到的编程问题 #1

Open jikibaoboken opened 7 years ago

jikibaoboken commented 7 years ago

QUESTION: 1.how to initial a DATE variable in mysql? 2.using $_request or $_POST? 3.check Null in firstpage.html? or check null in student_signinto.php? 4.how to write students' information into database table? 5.$con is used to do what? 6.after sign into system,what should we do?

  1. using stu_num and pw to select directly in database? or choose the password out,then compare with the inputed pw? 张炯说第二种,很有道理

README: 1.we should install WAMP ,url is here: https://www.runoob.com/php/php-install.html 2.firstpage.html is the sign_into page student_signinto.php is used to ensure you are the right man. student_information_store is a php file to initial a database and table of students.

EDIT-TIME: 2017.7.17 firstly edited by 刘瑞琦

923515066 commented 7 years ago

request不是包括post和get吗

923515066 commented 7 years ago

检查null是什么意思

jikibaoboken commented 7 years ago

检查null就是对空,或者乱填的进行识别,我感觉js的脚本可以做到,没必要全放到服务器,上

jikibaoboken commented 7 years ago

意思是$_REQUEST更全面一点?

jikibaoboken commented 7 years ago

而且有没有必要显示登陆成功的页面,直接跳转到答题界面会好一些吧?@张炯

923515066 commented 7 years ago

登陆成功就直接跳转答题界面吧