Update a row in a table
Introduction
Updating a row in a table. The example is based on the animals_db.
Details
Get the parrot's data and modify it.
$rowData = $browser->getRow(3);
$rowData['lifespan'] = 65;
Update the parrot's data in tbl_animals.
$browser->updateRow(3, $rowData);
The following SQL is executed: UPDATE tbl_animals SET NAME= 'parrot',TYPE= 'bird',LIFESPAN= 65 WHERE (id = 3)