TAD wrote:
> Parse error: parse error, unexpected
T_ENCAPSED_AND_WHITESPACE, expecting
> T_STRING or T_VARIABLE or T_NUM_STRING in
> C:\Accounts\antiques\wwwRoot\TestSite\Untitled-2.php on
line 76
I haven't checked the rest of your code but the parse error
is caused by
nesting PHP tags within a PHP block. PHP blocks cannot be
nested. The
following line
$image = "../AAAIMAGES/<?php echo
$row_Recordset1['Image']; ?>.jpg";
should be
$image = "../AAAIMAGES/{$row_Recordset1['Image']}.jpg";
You need to surround $row_Recordset1['Image'] by curly braces
to include
this sort of array variable in a double-quoted string.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/