echo $bicycle['name']; ?> </td> <?php $bicycleBrand = getBicycleBrand($bicycle['brand_id']); $bicycleBrand = mysql_fetch_array($bicycleBrand); ?> <td><?php echo $bicycleBrand["name"]; ?> </td> <?php $bicycleType = getBicycleType($bicycle['type_id']); $bicycleType = mysql_fetch_array($bicycleType); ?> <td><?php echo $bicycleType["name"]; ?> </td> <td><?php echo $bicycle['gear_number']; ?> </td> <td><?php echo $bicycle['wheel_size']; ?>
<!-- Custom Fonts --> <link href="../../css/font-awesome.min.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <?php include '../../functions.php'; include '../../connectdb.php'; $typeId = $_GET["id"]; $bicycleType = getBicycleType($typeId); $bicycleType = mysql_fetch_array($bicycleType); ?> <body> <?php include '../../blocks/main-menu.php'; ?> <div class="container"> <div class="jumbotron"> <h2>Edit Bicycle Type</h2> <form role="form" action="update-bicycle-type.php" method="post"> <!-- Bicycle Type ID -->