How to start AUTO_INCREMENT from 0 through php mysql checking?

check
I can"t even find the method on the website
how to start AUTO_INCREMENT from 0 via php mysql lookup?

not in this way:

CREATE TABLE `admin` (
  `x` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

is the way to pass through mysqli


ALTER TABLE admin
AUTO_INCREMENT = 0;


if starting from 0, the data table must have no content, then you can clear the table

Truncate table xxxx;

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37da1-2c0ab.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37da1-2c0ab.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?