23 lines
491 B
PHP
23 lines
491 B
PHP
<?php
|
|
include "../../connect.php";
|
|
|
|
$appPlatform = filterRequest("appPlatform");
|
|
|
|
$sql = "UPDATE
|
|
`testApp`
|
|
SET
|
|
`isTest` = '1'
|
|
WHERE
|
|
`testApp`.appPlatform = '$appPlatform';";
|
|
|
|
$stmt = $con->prepare($sql);
|
|
$stmt->execute();
|
|
|
|
if ($stmt->rowCount() > 0) {
|
|
// Print a success message
|
|
printSuccess($message = "Test data updated successfully");
|
|
} else {
|
|
// Print a failure message
|
|
printFailure($message = "Failed to update driver order data");
|
|
}
|
|
?>
|