Pengujian

for ($x = 1; $x < 3; $x++) {
echo $kali = 10000 * $x;

$result = mysql_list_tables($db);
$num_rows = mysql_num_rows($result);

for ($i = 0; $i < $num_rows; $i++) {
usleep(2000000);
$data = mysql_tablename($result, $i);

$field = mysql_list_fields ( $db , $data );

for($y = 0; $y < mysql_num_fields($field); $y++){
$f[$y] = mysql_field_name($field, $y);
}

for($a=1;$a<=$kali;$a++) {
$query = “insert into “.$data.” (“.$f[2].”) values (“.($a+123).”)”;
mysql_query($query);
}
}
}

results :

hasil program - query
hasil program

Published by

Alit Mahendra Bramantya

Complicatedly simple, not just another internet presence enthusiast. Currently managing Research (including Analytics) Division at Think.Web with Web App Development and Digital Analytics as main responsibility. Views are my own.

2 thoughts on “Pengujian”

Comments are closed.