I'm trying to print out a table of results based on a search query but as part of the results I want to display a URL link with a variableID as part of the URL. This is what I've got at the moment:
echo "\n\t<tr><td align=\"right\"> .
"<ahref= \"page2.php?varID=" .
$row["varID"] .
"\">Get More Details</a>" ."</td></tr>";
Which isn't working - keeps giving me:
Parse error: parse error, unexpected '=', expecting ',' or ';' in c:\
I can't seem to work out the problem & as well as this the above is probably an ugly way of doing it. Appreciate any help on how to get this right.
Tks,
Dan