[Solved] Trying to make this entire line of code into a hyperlink [closed]


This:

echo "<a href="https://stackoverflow.com/questions/43282015/test.php">CategoryID: {$row['CategoryID']} - Category Name: {$row['CategoryName']}</a><br />";

I am using the { and } as they allow you to include an array in a string and ignore the concatenation which I find harder to read.

I find it funny that you can loop through a MySQL array but can’t echo a simple string 😛

Some links (teach a man to fish…):

0

solved Trying to make this entire line of code into a hyperlink [closed]