$result2 = $business->update_company($id, $siret, $sector, $name, $description, $phone, $email, $tutor, $address, $street, $cedex, $postalCode, $city, $country, $website); $display = $result1 && $result2; } if (isset($_POST['update-company-password']) && isset($_GET['id'])) { $password = $_POST['password']; $confirmPassword = $_POST['confirmPassword']; $id = $_GET['id']; if ($password == $confirmPassword) { $result1 = $business->update_user_password($id, $password); $display2 = $result1; } } if (isset($_GET['id'])) { $id = $_GET['id']; $user_company = $business->view_user($id); $company = $business->view_company($id); } ?> <!doctype html> <html> <head> <title>Geostage</title> <meta charset="utf-8"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.3/css/bootstrapValidator.min.css"/> <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.3/js/bootstrapValidator.min.js"> </script> <style>