Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php to display variables

<?php
  // The global $_POST variable allows you to access the data sent with the POST method by name
  // To access the data sent with the GET method, you can use $_GET
  $say = htmlspecialchars($_POST['say']);
  $to  = htmlspecialchars($_POST['to']);

  echo  $say, ' ', $to;
?>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #php #display #variables
ADD COMMENT
Topic
Name
1+1 =