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

Glib GIOChannel -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -

python - Obscure curses error message when creating a sub window -