<form method=”post” >
<input type=”email” name=”email”>
<input type=”submit” value=”click” name=”submit”>
</form>
<?php
echo $_POST[’email’];
$short = ‘[acf7db form_id=”240″ search=”‘.$email.'” ]’;
if(isset($_POST[‘submit’]))
{
echo do_shortcode($short) ;
}
?>
Whats Wrong with this code it shows all the records
-
This reply was modified 7 years, 5 months ago by dinaarshith.
in my case my I want the user to enter their email in a text box ,and only the data related to the corresponding email must be shown ,is there any way i could do it,………… im new to wordpress i don’t know much about it so please help me