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


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

solved How to echo url and database variable [closed]