How to Remove spaces show_classroom.php & lt; html & gt; & lt; head & gt; & nbsp; & lt; title & gt; classroom details & lt;/title & gt; & lt; linkhref = & quot ;.. /table_style.css & quot; rel = & quot; how to remove spaces in styleshee
Show_classroom.php
Classroom details
$ Con = mysql_connect ("localhost", "root ","");
// Establish a connection through the server locahost. the user name is root and no password is required.
If (! $ Con)
{
Die ('could not connect: '. mysql_error ());
}
Mysql_select_db ("crms", $ con );
$ Search1 = "SELECT * FROM classroom2 ";
$ Result1 = mysql_query ($ search1, $ con) or die (mysql_error ());
?>
CRMS-classroom details
All classrooms are as follows:
Pillar number |
Course Room No. |
Classroom capacity |
Microphone status |
Air conditioning condition |
Lamps |
Insert count |
Operation |
While ($ row = mysql_fetch_array ($ result1 )){?>
Echo $ row ['building _ id']; ?>
|
Echo $ row ['classroom _ id']; ?>
|
Echo $ row ['size']; ?>
|
Echo $ row ['microghone']; ?>
|
Echo $ row ['air _ condition ']; ?>
|
Echo $ row ['light']; ?>
|
Echo $ row ['extention _ wire ']; ?>
|
Echo 'delete '; ?>
| Echo"";}?>
Return
When displayed, there are many spaces between "classroom details" and "all classrooms? How to remove it?
------ Solution --------------------
I have output your code. But I put your echo
If it is removed, it seems that something is wrong, but in the table, it should be done to influence the elements outside the table.
In Add the following code in the middle to try it out. do not put it in CSS. it mainly depends on the effect.