Jump to content

Parse error Need help


kpetsche20

Recommended Posts

Error

Parse error: syntax error, unexpected T_IF in /home/webmaste/public_html/realestate/new/admin/listclients.php on line 10

 

Code

<table width="550" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td width="522"><p>List Clients </p>
      <?php 

//index.php?p=listclients&name=Clients Name  -- Displays Client Info
if($_GET['update']
{

if (mysql_query("UPDATE tblpeople SET `indfirstname` = '".$_POST['firstname']."' WHERE `indid`= '".$_POST['id']."'"))
		{	echo "Product Type was successfully updated <br /><br />"; }
		else
		{	echo "Product Type was not successfully updated <br /><br />"; }
}

Link to comment
https://forums.phpfreaks.com/topic/113038-parse-error-need-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.