Author Topic: Category ID and image ID <-- error  (Read 4206 times)

0 Members and 1 Guest are viewing this topic.

Offline OpenGL

  • Newbie
  • *
  • Posts: 15
    • View Profile
Category ID and image ID <-- error
« on: March 27, 2003, 08:52:50 AM »
Sorry my english!
I created 3 categories. Ex:
cat1 have 88 images.
cat2 have 5 images.
cat3 has an image.
-----------------------
Total categories are 3 cats. The ID number of last category is 94.
Total images are 94 images. The ID number of last image is 94.

I got error when i del cat1 and all of its images. Then i add new cat named cat4... I noticed that ID number in SQL of new category is 4, cat2's ID = 2 and cat3's ID=3... and new image has ID 95.

What 's the reason ?... why 4images does not auto re-arrange categories and images ? if i del all of my category and images, then Add new cats-images, their ID number is auto increase from last cats and images......
Why????????????

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Category ID and image ID <-- error
« Reply #1 on: March 27, 2003, 09:58:13 AM »
dont worry, there is not a problem ;)
that's because the number calculates by MySQL:
http://4homepages.de/forum/viewtopic.php?t=2269
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline OpenGL

  • Newbie
  • *
  • Posts: 15
    • View Profile
Category ID and image ID <-- error
« Reply #2 on: March 27, 2003, 03:10:39 PM »
thx V@no... i dont worry about it anymore