help find a parse error

Discussion in 'PHP' started by co.ador, Oct 10, 2009.

  1. #1
    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>";
    	?>
    PHP:

     
    co.ador, Oct 10, 2009 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You're missing the closing } for your while statement
     
    JAY6390, Oct 10, 2009 IP