Why does my webpage show no response when I add or delete the webpage? I use PHP and mySQL. Do I need to allocate the added or deleted code to another file? & lt; bodybgcolor & quot; d9dffaa & quot; & gt; & nbsp; & lt; divalign & quot; center & quot; & gt; & lt; fontface & quot; & quot; size: Why does my webpage not respond when I add or delete the webpage?
For example, I use PHP and mySQL. Do I want to allocate the added and deleted code to another file?
Student Information entry
Require "fun. php ";
Session_start (); // start the SESSION
$ Number = @ $ _ POST ['Number']; // Obtain the student ID
$ _ SESSION ['Number'] = $ number; // pass the lecture student number value to another page
$ SQL = "select * from XSB where XH = '$ number'"; // query the generated information
$ Result = mysql_query ($ SQL );
$ Row = mysql_fetch_array ($ result );
If ($ number! = NULL )&&(! $ Row) // determines whether the student ID exists
Echo "script" alert ('The student information is not found! ') Script ";
$ TimeTemp = strtotime ($ row ['cssj']); // parses a date into a UNIX timestamp
$ Time = date ("Y-n-j", $ timeTemp); // use the date function to convert the time to "year-month-day"
?>
Student ID |
|
Name: |
|
Gender | If ($ row ['xb '] = 0){?>
Male Female | }Else{?>
Male Female | }?>
Date of birth: |
|