How to Remove spaces

Source: Internet
Author: User
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






























While ($ row = mysql_fetch_array ($ result1 )){?> Echo"";}?>
All classrooms are as follows:
Pillar number Course Room No. Classroom capacity Microphone status Air conditioning condition Lamps Insert count Operation

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 ';
?>

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.


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.