PHP Script to populate MySQL tables(用于填充 MySQL 表的 PHP 脚本)
问题描述
有谁知道 script/class
(最好是 PHP)会解析给定的 MySQL 表的结构
,然后用 x 行数填充它
基于字段类型的随机测试数据?
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.
推荐答案
你所追求的将是一个数据生成器.
What you are after would be a data generator.
here 有一个可用的,我已将其添加为书签,但我还没有开始尝试.
There is one available here which i had bookmarked but i haven't got around to trying it yet.
这篇关于用于填充 MySQL 表的 PHP 脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:用于填充 MySQL 表的 PHP 脚本


基础教程推荐
- 将变量从树枝传递给 js 2022-01-01
- 使用 scandir() 在目录中查找文件夹 (PHP) 2022-01-01
- php中的foreach复选框POST 2021-01-01
- Yii2 - 在运行时设置邮件传输参数 2022-01-01
- 如何在数学上评估像“2-1"这样的字符串?产生“1"? 2022-01-01
- PHPUnit 的 Selenium 2 文档到底在哪里? 2022-01-01
- php 7.4 在写入变量中的 Twig 问题 2022-01-01
- 主题化 Drupal 7 的 Ubercart “/cart"页 2021-01-01
- php中的PDF导出 2022-01-01
- Web 服务器如何处理请求? 2021-01-01