Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $performQuery="SELECT * FROM Phones WHERE price>$_POST[x] and price <$_POST[y] || itemName='iPhone' ";
- if($performQuery->num_rows>0){
- while($row=$performQuery->fetch_assoc()){
- //input all of the values into the table hardcodedly into the html written here
- ?>
- <html>
- <head></head>
- <body>
- <table><?php
- echo $row["ID"];
- echo " - ";
- echo $row["itemName"];
- echo " - "
- echo $row["Model"];
- echo " - "
- echo $row["OS"];
- echo " - "
- echo $row["Price"];
- ?>
- <body>
- </html>
- <?php
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement