to pull some records from the DB and maybe called it
db_names. I want to loop through my
db_names and check if any of those names is in my list of names.If its there i add my record to
list_of_names_in_db .Well how can i best get that? Thank you
foreach($db_name as name) { if (in_array($name, names)) { array_push($list_of_names_in_db, $name); } } solution to the above problem
Обсуждают сегодня