Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Tka4

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

Tka4's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. $ai = $this->db->query("SHOW TABLE STATUS LIKE 'oc_product'"); $ai['Auto_increment'] как то так должно быть?
  2. Пробывал, чет не работает, можно полный запрос.
  3. Мне нужно именно значение автоинкремента, а не id. То есть у меня есть 10 товаров, последнее айди товара 10, если 2 последних товара удаляется, то последний айди 8. И мне перед добавление товара, нужно узнать а_и, который уже будет равен 11. Подскажите пожалуйста как правильно составить запрос в базу, что бы вытащить значение а_и таблици.
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.