GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — githubproject/products.php at master · hamza29/githubproject Expand file tree/ Copy pathproducts.phpMore file actions 164 lines (132 loc) · 6.14 KB / Copy pathproducts.phpFile metadata and controls164 lines (132 loc) · 6.14 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 <?php include_once './includes/top.php'; ?> </head> <body class="container"> <?php include_once './includes/header.php'; ?> <?php include_once './requires/connection.php'; $sql="SELECT * FROM tblproducts"; $result=mysqli_query($connection,$sql); if (!$result) { die("not found "); } else { while($row = mysqli_fetch_array($result)) { $prid= $row['productid']; $productName = $row['productName']; $productPrice = $row['productPrice']; $productCode = $row['productCode']; $productInstock = $row['productInstock']; $productDiscount= $row['productDiscount']; $productSizes = $row['productSizes']; $productDetails = $row['productDetails']; $img=$row['image']; //echo "<h1 style='color:black'> image is ".$row['image']."</h1>"; echo"<div class='row'> <h2>$productName:</h2> <div class='col-md-4'> <a href='productsdetails.php?pro_id=$prid'> <img class='thumbnail product_img ' src='images/uploads$img' alt='image' height='200px'width='250px'> </a> </div> </div>"; } } ?> <!-- <div class="row"> <h2>OUTDOORS :</h2> <div class="col-md-4"> <a href="productsdetails.php?pr_id=$prid."> <img class=" thumbnail product_img" src="images/uploads" alt="woodenchairs" height="200px" width="250px"> </a> <p> Terrace Chairs</p> </div> <div class="col-md-4"> <a href="productsdetails.php"> <img class=" thumbnail product_img" src="images/uploads" alt="woodenchairs" height="200px" width="250px"></a> <p> Lawn Chairs</p> </div> <div class="col-md-4"> <a href="productsdetails.php"><img class=" thumbnail product_img" src="images/uploads" alt="woodenchairs" height="200px" width="250px"></a> <p> Terrace Chair</p> </div> <!--</div> <div class="row"> <div class="col-md-4"> <a href="productsdetails.php"> <img class=" thumbnail product_img" src="images/terace6.jpg" alt="woodenchairs" height="200px" width="250px"> </a> <p> Terrace Chairs</p> </div> <div class="col-md-4"> <a href="productsdetails.php"> <img class=" thumbnail product_img" src="images/terace5.jpg" alt="woodenchairs" height="200px" width="250px"></a> <p> Lawn Chairs</p> </div> <div class="col-md-4"> <a href="productsdetails.php"><img class=" thumbnail product_img" src="images/terace3.jpg" alt="woodenchairs" height="200px" width="250px"></a> <p> Terrace Chair</p> </div> </div> <div class="row"> <h2 > BED ROOMS : </h2> <div class="col-md-4"> <a href="productsdetails.php"><img class=" thumbnail product_img" src="images/bed1.jpg" alt="beds" height="200px" width="250px"></a> <p> Bed Style 1</p> </div> <div class="col-md-4"> <a href="productsdetails.php"> <img class=" thumbnail product_img" src="images/bed3.jpg" alt="beds" height="200px" width="250px"></a> <p> Bed Style 2</p> </div> <div class="col-md-4"> <a href="productsdetails.php"> <img class=" thumbnail product_img" src="images/bed2.jpg" alt="beds" height="200px" width="250px"> </a> <p> Bed Style 3</p> </div> </div> <div class="row"> <h2> DINING : </h2> <div class="col-md-4"> <a href="productsdetails.php"> <img class="thumbnail product_img" src="images/din1.jpg" alt="woodentable" height="200px" width="250px"> </a> <p> Dinning Style 1</p> </div> <div class="col-md-4"> <a href="productsdetails.php"> <img class="thumbnail product_img " src="images/din3.jpg" alt="woodentable" height="200px" width="250px"> </a> <p> Dinning Style 2</p> </div> <div class="col-md-4"> <a href="productsdetails.php"> <img class="thumbnail product_img " src="images/wood8.jpg" alt="woodentable" height="200px" width="250px"></a> <p> Dinning Style 3</p> </div> </div> <div class="row"> <div class="col-md-4"> <a href="productsdetails.php"> <img class="thumbnail product_img" src="images/kitchen.jpg" alt="woodentable" height="200px" width="250px"> </a> <p> Dinning Style 1</p> </div> <div class="col-md-4"> <a href="productsdetails.php"> <img class="thumbnail product_img " src="images/wood6.jpg" alt="woodentable" height="200px" width="250px"> </a> <p> Dinning Style 2</p> </div> <div class="col-md-4"> <a href="productsdetails.php"> <img class="thumbnail product_img" src="images/wood7.jpg" alt="woodentable" height="200px" width="250px"></a> <p> Dinning Style 3</p> </div> </div>--> <!--< } } --> <br/> <br/> <br/> <br/> <br/> <footer class="row"> <?php include_once './includes/footer.php'; ?> </footer> </div> </body> </html> |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |