954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

display table border


<?php
$hostname = "localhost";
$username = "splendor_lydia";
$password = "jesus";
$dbid = "splendor_samp";
$link=mysql_connect($hostname, $username, $password);
mysql_select_db($dbid) or die("unable to connect");

echo "";
$result=mysql_query("SELECT * FROM please");
for ($i = 0; $i < 1; ++$i)
{
$line = mysql_fetch_row($result);
print "Name $line[0]";
print "Company Name $line[1]";
print "Company Address $line[2]";
print "Email Id $line[3]";
print "Skills $line[4]";
print "Degree $line[5]";
print "Industry Type $line[6]";
print "Description $line[7]";
print "Requirement $line[8]";
print "Year Of Experience $line[9]";
print "Salary $line[10]";
print "Search Date $line[11]";
}
echo "";


mysql_close($link);
?>

lydia21
Junior Poster
183 posts since Nov 2007
Reputation Points: 19
Solved Threads: 5
 

just add the width and border to the tag.

echo "<table width='something' border='1'>";
kkeith29
Nearly a Posting Virtuoso
1,357 posts since Jun 2007
Reputation Points: 235
Solved Threads: 194
 

thanks it is working

lydia21
Junior Poster
183 posts since Nov 2007
Reputation Points: 19
Solved Threads: 5
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You