I need to detect and display my inputs when the value is detected. like for example, I select id 1
and its value
is 1000
then 1000
should be in the statement.
Here is my href which submits, and show the value.
<a href="generatecode.php?value=<?php echo htmlentities($row['value']); ?>"><i class="icon-pencil"></i></a>
Here is my code which needs to detect the value .
<?php
$hiddenVal = $_POST['id']; //GET THE TEXT INPUT
if ($hiddenVal == '1000'){
?>
<input type="text" value="<?php echo $_GET['value']; ?>" name="id">
<img src="images/topupcard3.jpg" width="400px" height="200px">
<?php } ?>
If statement is not working.