PHP Script to populate MySQL tables

2019-02-08 09:19发布

Is anyone aware of a script/class (preferably in PHP) that would parse a given MySQL table's structure and then fill it with x number of rows of random test data based on the field types?

I have never seen or heard of something like this and thought I would check before writing one myself.

1条回答
Evening l夕情丶
2楼-- · 2019-02-08 09:51

What you are after would be a data generator.

There is one available here which i had bookmarked but i haven't got around to trying it yet.

查看更多
登录 后发表回答