I have a form that get processed by a php page and depending on what the user decides it will get summited to another php form. But the
<input type="text" name="fname" value="<?php 'echo $tesing';?>"
part does not work inside php.
if i try the code outside it works, but i need it inside the php
if (isset($_GET['check1']))
{
$check1 = $_GET['check1'];
}
if($check1 !== 'unchecked')
{
$id = "$last_Id";
echo '<form method ="get" action = "tele.php">
Phone:
<input type = "text" name ="number" value= "">
<input type="text" name="fname" value="<?php 'echo $tesing';?>">
<br>';
echo '<input type = "submit">';
}
else
print("not checked");
?>