2009/10/20

How to use implode in IN sql

Here is a example,

$review_id = array();
$sql = "update pr_approved set emailed = 'Y' where merchant_review_id ('".implode("','",$review_id)."')";

No comments:

Post a Comment