I'm trying to convert HTML to PHP and I got this error. This is my code. Error in the first line
echo "<h2>Welcome to INTI Shopping Website</h2>n";
echo " <form method="POST" action="#">
echo "<div class="imgcontainer">n";
echo "<img src="avatar.png" alt="Avatar" class="avatar">n";
echo "</div>n";
echo "<div class="container">n";
echo "<label for="uname"><b>Username</b></label>n";
echo "<input type="text" placeholder="Enter Username" name="username" required>n";
echo "<label for="psw"><b>Password</b></label>n";
echo "<input type="password" placeholder="Enter Password" name="password" required>n";
echo "<button type="submit">Login</button>n";
echo "<label>n";
echo " <input type="checkbox" checked="checked" name="remember"> Remember me </label>n";
echo "</div>n";
echo "</form> n";
Aucun commentaire:
Enregistrer un commentaire