I want to fetch an array of results from MYSQL where id is an array. I had used this one:
$q="SELECT * FROM stocksdb WHERE Id = '" . $_POST['prod'] . "'";
where 'prod' is an array but the return is just only one row where the prod contains more. So, is there any method to fetch an array of results from an array of Id's.
I need it not not to be open for MySql Injections as the possible answer is open for it.