S
steve_456
Guest
hey im trying to load the description of a product in my site with all the line breaks included so i was told to use the "nl1br" function.
when i use it on this code...
echo "<td>" . nl1br("$product->get_description()") . "</td>";
i get this error...
Fatal error: Call to undefined function nl1br()
do i have to put the description in a string or before i can use the nl1bre method on it??
when i use it on this code...
echo "<td>" . nl1br("$product->get_description()") . "</td>";
i get this error...
Fatal error: Call to undefined function nl1br()
do i have to put the description in a string or before i can use the nl1bre method on it??