i know this is a duplicate one..
but i couldn't find what i wanted ..
I have an array value like this
$startpoint= (implode(",",$_SESSION['strtpnt1']));
// "chennai,madurai,tirunelveli,Kanyakumari"
I'm using a select query in a select box to fetch the datas from database which are not in array
My query looks like this:
$sql21 = "select start from tbl_place where start NOT IN='" . implode(",",$_SESSION['strtpnt1']) ."'";//i tried this and
$sql21 = "select start from tbl_place where start NOT IN='" . $startpoint ."'";//this