Hi, I am having trouble echoing something into a url.
The code I've got is:
<?php
$code = "kooks";
echo '<a href="http://website.com/'$code'">The Kooks</a>'; ?>
But I get the message: Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /hermes/web11b/b146/moo.3finking/unsignedgigs/test.php on line 3
Thanks for your help