co.ador Posted October 10, 2009 Share Posted October 10, 2009 Parse error: parse error in C:\wamp\www\store\shoes\yourshoe.php on line 199 The line 199 is the last line... <?php $query = "SELECT caridadkb.shoename, caridadkb.price, caridadkb.moreinfo, caridadkb.airjordan_id FROM caridadkb WHERE airjordan_id= " . (int) $_GET['menu']; echo $query; $result = mysql_query($query, $connection); while ($content = mysql_fetch_array($result)) { echo " <div id=\"shoeinfo1\"> <h2 class=\"infohead\">" . $content['shoename'] . "</h2> <div class=\"video\"><img class=\"line\" src=\"images/videoplayer.jpg\" alt=\"videoplayer\" width=\"100%\" height=\"100%\"></div> <h5> Rate:</h5><h4> "; $ratingData = Rating::OutputRating($content['shoename']); if (Error::HasErrors()) { echo Error::ShowErrorMessages(); Error::ClearErrors(); } else { echo $ratingData; } echo"</h4> <h3>Prosedimiento:</h3> <p>Womens fashion shoes with higher heels generally have pre-made, thin, flexible, leather or resin rubber fitted soles, made using the bottom pattern created from the last. Two shapes of sole are made this way, one for a Louis heel, and the other for a Knock-on type. </p> </div>"; ?> Link to comment https://forums.phpfreaks.com/topic/177206-help-me-find-a-parse-error/ Share on other sites More sharing options...
Mchl Posted October 10, 2009 Share Posted October 10, 2009 There's no ending brace for while ($content = mysql_fetch_array($result)) { Link to comment https://forums.phpfreaks.com/topic/177206-help-me-find-a-parse-error/#findComment-934373 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.