php pass data to html form – Stack Overflow

I have php file that contains variables:$t1 = $_POST[‘t1’];$t2 = $_POST[‘t2’];and I need to pass these variables into the respective html form fields:form is located in different page than php file with variables. it’s url is “form.php”I guess I need to create php post command in my php file that redirects to url “form.php” and loads $t1 and $t2 into respective form fields “field_1” and “field_2”?Trying around but can not find right solution..Any ideas appreciated Brgds, Raivis

Source: php pass data to html form – Stack Overflow

php pass data to html form – Stack Overflow was last modified: July 13th, 2017 by Jovan Stosic