How to remove spaces

Source: Internet
Author: User
How to remove spaces
show_classroom.php




<title>Classroom Details</title>


$con = mysql_connect ("localhost", "root", "");
Connect via server locahost, user name is root, no password

if (! $con)
{
Die (' Could not connect: '. Mysql_error ());
}
mysql_select_db ("CRMs", $con);

$search 1 = "SELECT * from Classroom2";

$result 1 = mysql_query ($search 1, $con) or Die (Mysql_error ());
?>


CRMS-Classroom Details
































while ($row = mysql_fetch_array ($result 1)) {?> echo "";}? >
The following is the case for all classrooms
Building No. Classroom Number Classroom Capacity Microphone Condition Air Condition Lamp Condition number of row interpolation 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



There are a lot of spaces between "classroom details" and "all classrooms as follows" when displayed? How to remove it?

------Solution--------------------
Your code i output. But I gave you that echo
removed, it feels like something is wrong, but he should fill in the form with the elements that affect the outside of the table.
In Add the following code to the middle of the test, do not put in the CSS, mainly to see 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.