mysql - Filter with an array -


i know can search id array using id in ($array) like

$ids = join(',',$galleries);   $sql = "select * galleries id in ($ids)"; 

can done in reverse there's column of ids stored in table , pass single id condition in clause?


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -