76
Discussion & Troubleshooting / Re: DB Error: Bad SQL Query: INSERT INTO 4images_categories
« on: July 26, 2009, 08:02:35 PM »
I guess, too, you should upgrade to 1.7.7
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
// Step 2: Get the highest cat-ID, cat_order and add 1 / Ermittle die größte cat_id, cat_order und addiere 1
// cat_id
/*
$sql = $site_db->query("SELECT * FROM 4images_categories ORDER BY cat_id DESC LIMIT 1");
$result = $site_db->fetch_array($sql);
$new_cat_id = $result['cat_id'];
$new_cat_id = $new_cat_id + 1;
$new_cat_id = $mysql->get_next_id("cat_id", CATEGORIES_TABLE);
*/