I get the following error from the PHP page I'm trying to change:
Parse error: parse error, unexpected T_DOUBLE_ARROW in .../SomePath.../phTransaction/updatePhTransaction.php on line 238
Here is the code:
I think it doesn't like the <> in my SQL statement, but I don't know what to do differently. As always, all help is much appreciated.
MrsBean
Parse error: parse error, unexpected T_DOUBLE_ARROW in .../SomePath.../phTransaction/updatePhTransaction.php on line 238
Here is the code:
Code:
LINE 235: <? $SQL = "Select * from phTransaction where TransMLS like '%$thisRelated1' and TransMLS <> '$thisTransMLS'";
LINE 236: $result = MYSQL_QUERY($SQL);
LINE 237: $numberOfRows = MYSQL_NUM_ROWS($result);
LINE 238: If ($numberOfRows =>0)
{$i=0;
while ($i<$numberOfRows)
{$thisTransMLS = MYSQL_RESULT($result,$i,"TransMLS");
echo "<p>".$thisTransMLS."</p>";
$i++;
} // end while loop
}
I think it doesn't like the <> in my SQL statement, but I don't know what to do differently. As always, all help is much appreciated.
MrsBean