Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Notice: Undefined variable: val in C: xampp htdocs alyssa FullForm 1 . php on line 8 0 Notice: Trying to get

Notice: Undefined variable: val in C:\xampp\htdocs\alyssa\FullForm1.php on line 80
Notice: Trying to get property 'ExistingName' of non-object in C:\xampp\htdocs\alyssa\FullForm1.php on line 80
code:
query($sql);
$database->bind(":relatedID", $id);
$database->execute();
$rows = $database->object(); // Assuming 'single' fetches one row
$arrrows=[];
foreach ($rows as $key=> $val ){
$arrrows[]=(array)$val;
break;}
//if ($_SERVER["REQUEST_METHOD"]=== "POST"){
// Get the updated data from the form
foreach($rows as $key=>$val){
$id = isset($_POST['$id'])? $_POST['$id'] : '';
$ExistingName= isset($_POST['ExistingName'])? $_POST['ExistingName'] : '';
$NewComputerName= isset($_POST['NewComputerName'])? $_POST['NewComputerName'] : '';
$CleanedCable= isset($_POST['CleanedCable'])? $_POST['CleanedCable'] : '';
$DustRemoved= isset($_POST['DustRemoved'])? $_POST['DustRemoved'] : '';
$LoginUpdated= isset($_POST['LoginUpdated'])? $_POST['LoginUpdated'] : '';
$ActiveDirectory= isset($_POST['ActiveDirectory'])? $_POST['ActiveDirectory'] : '';
$Antivirus= isset($_POST['Antivirus'])? $_POST['Antivirus'] : '';
$RamGB= isset($_POST['RamGB'])? $_POST['RamGB'] : '';
$ModelNo= isset($_POST['ModelNo'])? $_POST['ModelNo'] : '';
$OS= isset($_POST['$OS'])? $_POST['OS'] : '';
$SerialNo= isset($_POST['SerialNo'])? $_POST['SerialNo'] : '';
$CurrentUser= isset($_POST['CurrentUser'])? $_POST['CurrentUser'] : '';
$CurrentLocation= isset($_POST['CurrentLocation'])? $_POST['CurrentLocation'] : '';
$DateRegistered= isset($_POST['DateRegistered'])? $_POST['DateRegistered'] : '';
$CompletedBy= isset($_POST['CompletedBy'])? $_POST['CompletedBy'] : '';
}
//$ExistingName = trim(htmlspecialchars(strip_tags($_POST['ExistingName'])));
//$NewComputerName = trim(htmlspecialchars(strip_tags($_POST['NewComputerName'])));
//}
?>
*{
box-sizing: border-box;
}
#myInput {
background-image: url('/css/searchicon.png');
background-position: 10px 12px;
background-repeat: no-repeat;
width: 100%;
font-size: 16px;
padding: 12px 20px 12px 40px;
border: 1px solid #ddd;
margin-bottom: 12px;
}
#myUL {
list-style-type: none;
padding: 0;
margin: 0;
}
#myUL li a {
border: 1px solid #ddd;
margin-top: -1px; /* Prevent double borders */
background-color: #f6f6f6;
padding: 12px;
text-decoration: none;
font-size: 18px;
color: black;
display: block
}
#myUL li a:hover:not(.header){
background-color: #eee;
}
table {
border-collapse: collapse;
width: 50%;
}
td{
border: 1px solid black;
padding:8px;
text-align: left;
}
th{
border: 1px solid black;
padding: 80px;
text-align: left;
background-color: #f2f2f2;
}
Computer ID Checklist
Existing Computer Name
">
New Computer Name
">
Cabling Cleaned Up?
">
Dust Removed?
">
Log me in Updated
">
ActiveDirectory

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

Draw a picture consisting parts of monocot leaf

Answered: 1 week ago