Delete categories

1
2
$category_ids = db_get_fields('SELECT category_id FROM ?:categories WHERE parent_id=?i AND category_id!=?i', 0, 1);
foreach ($category_ids as $category_id){
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.