Phpmysql index problems. Obviously, this is a problem that anyone who uses MySQL will encounter. Recall the MySQLGUI tool mentioned in the environment configuration. By the way, you can go to www. my, which is obviously a problem that all MySQL users will encounter.
Recall the MySQL GUI tool mentioned at the time of environment configuration, right, it is, you can find it in http://www.mysql.com. Because sunec is also a programmer, far from reaching the programmer level, it is necessary to use some tools to help ~ I believe some of my friends are the same as me ~
Use a GUI tool to create a table, create a REF field, set REF as the primary key, define the type as int, and check the auto inc option. All right, the work on the MySQL end is over.
Next, I handed it over to PHP. I used the insert command introduced in the previous topic to add data to this table. Note that I do not need to add the REF value because I checked the AUTO INC option, then, each time you add a record, the REF will be automatically generated and will increase in order. in this way, can you meet your needs?
In addition, from this topic, I have summarized some technologies into the PHP technology zone. please pay attention to them!
Bytes. Recall the MySQLGUI tool mentioned in the environment configuration at the beginning, right, is it, you can go to the http://www.my...