Hello,
I've got a html form with a text box and a Submit button. The text box is called text_box_1. I want to key in a few email addresses in this text box(one email address per line) & hit the Submit button. When I hit the Submit button, I want to query a Mysql database with these email addresses individually.
Okay, I know I'm not explaining myself clearly so please click on this link http://www.checker.freeproxy.ru/checker/ to understand the process I'm trying to create. In the case of the website above, the user enters a few ip addresses(1 ip address per line) & hits the Check Proxy! button. The code then processes each ip address individually. I'm trying to do the same thing.
My question is, how do I write the query to process each line from the text box individually? I know how to connect to the Mysql database & I know how to display the results so we can skip that part.
My half completed query is below:-
<?php
$text_Box_1 = $_POST['text_Box_1'];
$query="SELECT * FROM table WHERE email_field LIKE I'm lost beyond this point";
?>
Thank you for your help. Much appreciated.