Xodus
public php v1 · immutable<?php require("./functions.php"); $id = $_GET['id']; $title = $_GET['title']; sqlConnect(); $result = mysql_query("SELECT * FROM videos WHERE name ='sample' OR id = ' $id '") or die(mysql_error()); echo "Time for while loop!<br>"; echo "Current Variables are $id and $title! <br>"; while($row = mysql_fetch_array($result)){ if($row != " "){ echo "<strong>No items found!</strong> <br>"; echo $row."<br>"; } else{ echo $row."<br />"; } } echo "The while loop broke!<br>";?>