[Solved] How to echo url and database variable [closed]

[ad_1]

You need to use dot to concate constant string with variables:

echo '<a href="'.$url.'">'.$name.'</a>';

for security reason you need to take care about propper variable escaping. Check php.net doc for htmlspecialchars and htmlentities

1

[ad_2]

solved How to echo url and database variable [closed]