soycharliente Posted May 6, 2008 Share Posted May 6, 2008 What's the concept called when you do something like this? <?php $nav = <<<DELIMITER <li><a href="index.php" class="home">Home</a></li> <li><a href="about.php" class="about">About</a></li> <li><a href="stats.php" class="stats">Statistics</a></li> <li><a href="data.php" class="data">Data</a></li> <li><a href="login.php" class="login">Login</a></li> DELIMITER; echo $nav; ?> Quote Link to comment Share on other sites More sharing options...
Barand Posted May 6, 2008 Share Posted May 6, 2008 heredoc synatx Quote Link to comment Share on other sites More sharing options...
soycharliente Posted May 6, 2008 Author Share Posted May 6, 2008 thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.