search

Home  >  Q&A  >  body text

PHP newline

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> ;PHP login interface</title>
<link rel="stylesheet" href="css.css">
</head>
<body>
<form action="index1.php" method="post">
User name:<input type="text" name="user" placeholder="Please enter admin or guest"><br>
 Password: <input type="password" name="password" placeholder="The password length must be greater than six digits and less than sixteen digits"><br>
              </label>< input type="submit" value="Submit">
</form>
</body>
</html>



##<?php

header("Content-type: text/html; charset=utf-8");
echo $_POST;
echo "< ;br>";
echo $_POST;

狸橙。狸橙。2075 days ago928

reply all(2)I'll reply

  • 狸橙。

    狸橙。2019-04-22 11:36:28

    It’s my output that can’t wrap lines


    reply
    0
  • 树。

    I'm curious. Can you print out $_POST using echo? echo''; is no problem if you write it here.

    树。 · 2019-04-22 13:39:48
  • Cancelreply