I m getting error what will be correct ? Plz see code by clicking Reply With QUOTE otherwise whole code is not shown.... <td class=\"srbb\"><textarea class=\"srbh\" rows=\"3\" onmouseover=\"this.select();\" onfocus=\"this.select();\" onkeydown=\"return false;\">/index.php?ref=$username]</textarea></td> Thanks
Using braces around variables when its referanced inside string is always better. I believe following shall solve the error. If it doesn't kindly share more details about it. <td class=\"srbb\"><textarea class=\"srbh\" rows=\"3\" onmouseover=\"this.select();\" onfocus=\"this.select();\" onkeydown=\"return false;\">[URL=http://www.{$settings[domain_name]}/index.php?ref={$username}][IMG]http://www.{$settings[domain_name]}/banners/banner.php?bb=1&usr={$username}[/IMG][/URL]</textarea></td> PHP: