everybody! I need your help or my head will blow up soon! I feel the solution is easy but... When user enters ID and Date and clicks Submit button he must be redirected to the devis.php page with the client id entered before. Here is the initial code
<?php
include("db.php");
if( isset( $_REQUEST['submit'] ) )
{
$id=$_POST['client'];
$date=$_POST['calendar'];
?>
<h1>IDENTITE CLIENT:</h1>
<label>Client ID <input type="text" name="client" ></label>
<br>
<br>
<label>Date de 1ere intervention <input type="date" name="calendar"> </label>
<br>
<a href="devis.php?id=<?php echo $id; ?>&date=<?php echo $date; ?>"><input type="submit" name="submit" value="submit" ></a>
But in this code the inputs can be visible only after clicking Submit and if to get them out of php tags, the variable Id isn't recognised and no redirection is following.
Thank you for your help and time!