Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does this error mean?

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
I am getting this error:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in ... on line 53

This is what I am doing, line 53 is in red:

Code:
$resultT = mysql_query("SELECT * FROM tbl where field = '$var'");
$num_rowsT = mysql_num_rows($resultT);
				
if ($num_rowsT != 0) {

while ($resultTA = mysql_fetch_array($resultT)) { ?>
     <tr>
        <td ><?Print "$resultTA['lname']";?></td>
        <td >&nbsp;</td>
        <td >&nbsp;</td>
     </tr>
<? } 
<?}

this works fine on other pages... what am I not seeing?


[conehead]
 
sorry, line 53 is:

<td ><?Print "$resultTA['lname']";?></td>


[conehead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top