m00nz00mer Posted February 19, 2008 Share Posted February 19, 2008 hey, how can i print a string then a variable and then put in a line break? ive tried this but i get an error. echo "Book Title: ".$bookTitle "<br />"; Link to comment https://forums.phpfreaks.com/topic/91907-how-to-do-this/ Share on other sites More sharing options...
marcus Posted February 19, 2008 Share Posted February 19, 2008 echo "Book Title: " . $bookTitle . "<br>\n"; like that? or echo "Book Title: " . $bookTitle . "\n"; Link to comment https://forums.phpfreaks.com/topic/91907-how-to-do-this/#findComment-470631 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.