Is there something common about those product id's?
Perhaps use stristr to remove them (or not put them in the db in the first place)
Anything with 123 in the product title wouldn't be inserted, anything else would.Code:$product_name="Test123"; if (stristr("123",$product_name)) { // do nothing } else { //insert in to database }
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks