Jump to content

syntax error, unexpected T_ENCAPSED_AND_WHITESPACE


colleyboy

Recommended Posts

Easy one i hope...

 

Heres my array:

 

	echo "<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH=100% BORDER=0>";
echo "<TR />";
echo "<TD WIDTH=30% VALIGN=TOP />";
echo " <IMG SRC=$row['CarPrice]/> ";  <----- THIS IS LINE 66 THAT THE ERROR APPEARS ON!!
echo "<br />";
echo "</TD>";
echo "<TD WIDTH=10 VALIGN=TOP />";
echo " ";
echo "</TD>";
echo "<TD />";

echo "<font size=3 face=arial /><B >";
echo $row['CarPrice'];
echo "</B><font size=2 face=arial />";
echo "<br />";
echo $row['CarTitle'];
echo "<br />";

 

Have i encased the $row['photo'] properly?

 

 

Im getting this error come back *same as before*

 

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/wormste1/public_html/tilburywebdesign/shop/FTPServers/barryottley/showroom.php on line 66

 

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.