alert('Please login first!'); window.location.href='login.html'; "); session_write_close(); } ?> Store Item List query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { echo ' '; } } else { echo "0 results"; } ?>
Item Name Item Description Item Category Item Image Item Stock Item Price
'.$row['Item_Name'].' '.$row['Item_Desc'].' '.$row['Item_Category'].' '.$row['Item_Stock'].' '.$row['Item_Price'].'