Jump to content

Display data on multilple lines


travelkind

Recommended Posts

This is probably pretty simple but I don't know how to do it.  I need to have my data that is returned show up on two rows instead of on one.  Everything from:  echo "Fuel Type: ".$row['fuel']; needs to be on the second line.  Is there a command that is needed to terminate my first line of data?  Thanks for your help!

 

// store the record of the "custmast" table into $row

$row = mysql_fetch_array( $result );

// Print out the contents of the entry

 

echo "Supplier: ".$row['supplier'];

echo "Terminal: ".$row['terminal'];

 

echo "Fuel Type: ".$row['fuel'];

echo "Fuel Blend: ".$row['fuelblend'];

 

?>

Link to comment
https://forums.phpfreaks.com/topic/187446-display-data-on-multilple-lines/
Share on other sites

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.