Question: redirecting using header does this: rewrite the code so that it saves the data to the the data base and then redirects properly to the

redirecting using header does this:
rewrite the code so that it saves the data to the the data base and then redirects properly to the new ID value.
code :
query($sql);
$database->bind(":id",$id);
$database->bind(":ExistingName",$ExistingName);
$database->bind(":NewComputerName",$NewComputerName);
$database->bind(":CleanedCable",$CleanedCable);
$database->bind(":DustRemoved",$DustRemoved);
$database->bind(":LoginUpdated",$LoginUpdated);
$database->bind(":ActiveDirectory",$ActiveDirectory);
$database->bind(":Antivirus",$Antivirus);
$database->bind(":RamGB",$RamGB);
$database->bind(":ModelNo",$ModelNo);
$database->bind(":OS",$OS);
$database->bind(":SerialNo",$SerialNo);
$database->bind(":currentUser",$currentUser);
$database->bind(":currentLocation",$currentLocation);
$database->bind(":DateRegistered",$DateRegistered);
$database->bind(":CompletedBy",$CompletedBy);
$database->execute();
header("Location: \FullForm1.php?id=".$val->id."");
exit();
//}
?>/FullForm1.php?id=
 redirecting using header does this: rewrite the code so that it

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!