Answers for "html form output php"

PHP
2

how to request user input in php

<?php
echo "What do you want to input? ";
$input = rtrim(fgets(STDIN));
echo "I got it:\n" . $input;
Posted by: Guest on August-13-2020
0

how to form data to another file in php

$firstname = preg_replace( "#[^\w]#", "", $_POST['firstname'] );

$lastname = preg_replace( "#[^\w]#", "", $_POST['lastname'] );
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language