-2
  else if (isset($id) && isset($street_address) && isset($price)  ){
  echo '<p>Are you sure you want to delete the following product?</p>';
  echo '<p><strong>Street Address: </strong>' . $street_address '<br/><strong>Price: </strong>' . $price .;
  //  '<br /><strong>Price: </strong>' . $pPrice . '</p>';
   echo '<form method="post" action="removehome.php">'; <-- (line 58)

I've tryed adding an ending semicolon to the line above but end up getting an "unexpected ";" error. How do I fix this?

Jason Quinn
  • 25
  • 1
  • 6

1 Answers1

0

Problem is here </strong>' . $price .;. You use a extra . after the $price.

else if(isset($id) && isset($street_address) && isset($price)){
  echo '<p>Are you sure you want to delete the following product?</p>';
  echo '<p><strong>Street Address: </strong>'.$street_address.'<br/><strong>Price: </strong>'.$price;  
  echo '<form method="post" action="removehome.php">';
Murad Hasan
  • 9,565
  • 2
  • 21
  • 42