Answers for "::get php"

PHP
1

$_GET["name"]

<?php
echo 'Hello ' . htmlspecialchars($_GET["name"]) . '!';
?>
Posted by: Guest on December-23-2020
19

php get

<form action="/" method="get">
  <input type="text" name="name">
  <br>
  <input type="submit">
</form>
<?php
  echo $_GET["query"];
?>
Posted by: Guest on October-03-2020

Browse Popular Code Answers by Language