JuliaKM on 10/29/07
Last Edited at 10/29/07 04:12pm
if (is_array($types)) { $wheresql = '('; $where = array(); foreach ($types as $t) { $where[] = "n.type LIKE '$t'"; } $wheresql .= join(" OR ", $where); $wheresql .= ')'; } else { $wheresql = "n.type LIKE '$types'"; }
Report this snippet Tweet
Comment:
You need to login to post a comment.