<tr> <th scope="row"><?php echo $lineNumber; ?> </th> <td><?php echo $bicycle['id']; ?> </td> <td><?php 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"];
<!-- 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'; $brandId = $_GET["id"]; $bicycleBrand = getBicycleBrand($brandId); $bicycleBrand = mysql_fetch_array($bicycleBrand); ?> <body> <?php include '../../blocks/main-menu.php'; ?> <div class="container"> <div class="jumbotron"> <h2>Edit Bicycle Brand</h2> <form role="form" action="update-bicycle-brand.php" method="post"> <!-- Bicycle Brand ID -->