php - Alternative of using <br> in several lines -
this question has answer here:
i required copy , paste several codes in websites , can't it. way doing takes bit more time. there alternative in simpler way? need alternative inserting <br>
in every lines. doing this: inserting <br>
in every line.
<br>$db = new mysqli("localhost", "root","","learndb"); <br>$stmt = $db->prepare("select * admin username = ?"); <br>$stmt->bind_param("s",$first); <br>$stmt->execute(); <br>$result=$stmt->get_result(); <br>$myrow=$result->fetch_assoc();
you can use \r\n
in php echo.
see post: php - how create newline character?
Comments
Post a Comment