Table does not display any border when php outputs data from MySQL.
I'm trying to set the following styles for table:
border-width: thin
border-style: solid
Below is the snippet of code I'm having trouble with.
print( "<table border-width = thin border-style = solid cellpadding = 1 width = 1400px>" );
Problem code within context of output.
-------------------------------------------------
<?php
for ($i=0; $i<$num_results; $i++)
{
$row = mysql_fetch_array($result);
print( "<table border-width = thin border-style = solid cellpadding = 1 width = 1400px>" );
print( "<tr>" );
print( "<td>" ); echo htmlspecialchars( stripslashes
($row["lname"]));
print( "</td>" );
print( "<td>" ); echo htmlspecialchars( stripslashes
($row["fname"]));
print( "</td>" );
print(" </tr>" );
print(" </table>" );
echo "<p>End of List ! </p>";
?>
-----------------------------------------------------------------
Any help would be appreciated.... I'm a newbie at Web Dev so I realize my code is rough.... just have to work thru one problem at a time in order to put all the pieces together.