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

By Alit Mahendra Bramantya

I’ve always been fascinated by how people interact with tech — how design, data, and behavior shape the way we experience the web. That curiosity drives my work as both a software engineer and a digital analyst. I’m currently a Senior Software Development Engineer at Saling Sae, building and maintaining web applications using Laravel, CodeIgniter, MySQL, Vue.js, and Next.js. I focus on creating scalable, user-centered solutions that balance technical quality with real-world impact.

2 comments

Comments are closed.