Who can help me check this program? & Lt ;? Phpinclude (& quot; navigation. php & quot ;);? & Gt; & lt; html & gt; & lt; head & gt; & lt; title & gt; library management system & lt;/title & gt; & who can check this program for me?
Library management system
| Current location: System Settings> bookshelf Settings> |
Include ("conn/conn. php"); // connect to the data source
$ SQL = mysql_query ("select * from tb_bookcase order by id desc"); // query the data information in the bookshelves information table.
$ Info = mysql_fetch_array ($ SQL); // execute an SQL statement
If ($ info = false) {// if there is a null value in the bookshelves information table, "no bookshelves information is displayed"
?>
| No bookshelf information! |
} Else {// otherwise, the bookshelf information is output
?>
| Shelf name |
Delete |
Do {// use the do... while loop statement to output the bookshelves information?>
|
"> Delete |
} While ($ info = mysql_fetch_array ($ SQL); // do... while loop statement ends}?>
|
|
|