Jump to content

How to get this echo line to display as one line?


okrobie

Recommended Posts

How to get this echo line to display as one line?

No matter what I have done it displays as two lines.  I even tried <nobr></nobr>

 

Teachers Name:

John Jones

 

$userid = mysql_real_escape_string($_GET['user_id']);
$sql = "select * from users where `id`='$userid' ";

$rs = mysql_query($sql);
while($row = mysql_fetch_array($rs))
{ 
echo  "<h3>Teachers Name: </h3>" . $row["first_name"] . " " . $row["last_name"]  ;  }

 

Thanks for your help.

Set your CSS accordingly

 

Here are the default font-sizes for heading tags

http://style.cleverchimp.com/font_size_intervals/altintervals.html

 

For a quick reference.  H3 is equal to font-size: large OR font-size: 24px

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.