What is wrong in the following code?
I could not debug it
echo "<tr>\n<td align=\"left\">" ."<a href="\"displaycart.php? action=add&id='.'$record['id']"\">Add to cart</a>";
It gives me the following, NO not know what to do???
( ! ) Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\wamp\www\SAD\pageforindex.php on line 35
Call Stack
Time Memory Function Location
1 0.0012 364208 {main}( ) ..\index123.php:0