Hiya,
Still getting errors. I'm real new to this and I don't understand what the errors are trying to tell me
require_once ('../mysqli_connect.php'); $movie_id = $_GET['movie_id']; $q = "SELECT * FROM scenes WHERE movie_id = $movie_id"; $r = mysqli_query($q, $dbc); while ($row = mysqli_fetch_array($r, MYSQLI_ASSOC));{ echo' <a href="movies/' .$row['scene_id']. '.mp4"> <img src="img/scenes/movie_'. $r['movie_id'] .'_1_scene_thumb.jpg"> </a> '; }
[28-May-2014 06:54:38 America/Vancouver] PHP Warning: mysqli_query() expects parameter 1 to be mysqli, string given in /Applications/MAMP/htdocs/movie2.php on line 84 [28-May-2014 06:54:38 America/Vancouver] PHP Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /Applications/MAMP/htdocs/movie2.php on line 85