jess345 Posted April 11, 2007 Share Posted April 11, 2007 while($info = mysql_fetch_array( $data )){ if ( $info['Computer_Science'] != NULL){ Print $info['Computer_Science']; } } im trying to print each line in the field Computer_Science to a new line now its hi my name is i want it to print hi my name is does anyone know how thanks Link to comment https://forums.phpfreaks.com/topic/46582-print-on-a-new-line/ Share on other sites More sharing options...
Lumio Posted April 11, 2007 Share Posted April 11, 2007 echo $info['Computer_Science']."<br />\n"; Link to comment https://forums.phpfreaks.com/topic/46582-print-on-a-new-line/#findComment-226759 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.