14

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.

Hamza Zafeer
  • 2,360
  • 13
  • 30
  • 42
Robert Swisher
  • 1,300
  • 11
  • 12

1 Answers1

21

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.

Jarod Elliott
  • 15,460
  • 3
  • 35
  • 34