PHP Student Management System Implementation _php Tutorial

Source: Internet
Author: User

Implementation of PHP Student management system


Recently the school opened a PHP course, by the way to write a homework, share it ...


It's a simple thing to do 、、、

Omit part of the front-end code 、、、

The first is the check for login:

 
Then is the registered checksum:

  

Graduation operation and accession history check:

   
Any keyword query:


 
     '; Var_dump ($_post[' search '); return; */foreach ($_session[' student ') as $k 1 = $value) {# code...if ($search ==$_ session[' student ' [$k 1][' s_id ']| | $search ==$_session[' student ' [$k 1][' Idcard ']| | $search ==$_session[' student ' [$k 1][' Name ']| | $search ==$_session[' student ' [$k 1][' Sex ']| | $search ==$_session[' student ' [$k 1][' Major ']) {$i = 1; $stu = $_session[' student '] [$k 1][' s_id '];$_session[' search '][$ Stu] = $stu;}} if (Isset ($i)) header ("Location:stu_query.php?user=admin&action=search"); Else header ("location:stu_Query.php? User=admin&action=q_error ");

Traverse Student Information:

 
     
 
     
     
  
      "; foreach ($k 1 as $k 2=> $k 3) {echo"
  
      
      "; Echo" 
        ";}}}}? > 
       
"If ($k 2== ' s_id ') {echo" study number: ";} else if ($k 2== ' Idcard ') {echo "ID number:";} else if ($k 2== ' sex ') {echo "Gender:";} else if ($k 2== ' name ') {echo "Name:";} else if ($k 2 = = ' Major ') {echo "Professional:";}; echo ""If ($k 2== ' s_id ') $s _id= $k 3; echo "$k 3"; echo "

Update the page and verify the data:

    
    
    
     
    
    
    
    
Attention
Once you are sure you cannot change
Has changed";}? >

    
Some front-end designs:


     <title>Main</title>
     
      
       
       
       
        
     
     
Welcome
Login cookie is valid for 1200 seconds
contact
blog:http://blog.csdn.net/p64129071 0 email:pengjunweiright@163.com
Github
Click to enter my GitHub




http://www.bkjia.com/PHPjc/917112.html www.bkjia.com true http://www.bkjia.com/PHPjc/917112.html techarticle PHP Student Management System Implementation recently, the school opened a PHP course, by the way wrote a homework, share it ... are very simple things, novice need 、、、 omit some of the front-end code ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.