This is it. I need some data for testing
So I need to create fake data.
I would like to ask how to use PHP to write a fake data to the database?
My database has a main key called buy_id (it will be AUTO_INCREMENT)
It would be best if I could set how many pieces of fake information to create?
This is it. I need some data for testing
So I need to create fake data.
I would like to ask how to use PHP to write a fake data to the database?
My database has a main key called buy_id (it will be AUTO_INCREMENT)
It would be best if I could set how many pieces of fake information to create?
After PHP connects to the database, it loops to construct the data based on each field that needs to be inserted, and then inserts it into the database