t13_php_insert_view_data_pemrograman_web (2)
t13_php_insert_view_data_pemrograman_web (2)
and so on until the while order get the false value then the restarting
will be stopped.
PHP MySQL: mysql_fetch_array() Function
Beside using mysql_fetch_row() function in order to get the query
result into database, you can also use mysql_fetch_array() function.
By clicking the edit button, the program goes to the fourth program,
edit_data.php file, which brings three variable such as $id variable
which contains of employees number data, $name variable which
contains of employees name data, and $address variable which
contains of employees address.
In order to know whether the data is already change or not, the
program is re-instructed to edit.php file with the order of header
("location:edit.php").
As for example, we will add menu to delete the data in table edit
data such as:
Delete menu will bring the program into
delete.php file where it is used to delete the
data which have been selected in the above
form.