I am required to copy and paste several codes in my websites and i just can't do it. the way i am doing takes a bit more time. is there any alternative to do this in simpler way? I just need an alternative for inserting <br> in every lines. What i am doing is this: inserting <br> in every line.
<br>$db = new mysqli("localhost", "root","","learndb");
<br>$stmt = $db->prepare("select * from admin where username = ?");
<br>$stmt->bind_param("s",$first);
<br>$stmt->execute();
<br>$result=$stmt->get_result();
<br>$myrow=$result->fetch_assoc();