Here I am using implode statement to qualification but i want to select that qualified people in the query…
I want to here show people who are all educated either SSLC or PUC or BCA …
$my_explode=implode(",",$_SESSION['qualification']);
eg: $my_explode=SSLC,PUC,BCA
$query1 = ' SELECT * FROM `tbl_user_reg` WHERE qualification in(:qualification) ';
$query2 = $conn->prepare($query1);
$query2->bindParam(':qualification',$my_explode);
$query2->execute();
$result = $query2->fetchAll(PDO::FETCH_ASSOC);
foreach($result as $disel):
But here not working the query …,
any suggestion please…!
thanks,