php - Trying to make this entire line of code into a hyperlink -
echo <a href = 'test.php'> "categoryid: " . $row["categoryid"]. " - category name: ".$row["categoryname"]. </a> "<br>";
this have not working properly.
this:
echo "<a href = 'test.php'>categoryid: {$row['categoryid']} - category name: {$row['categoryname']}</a><br />";
i using {
, }
allow include array in string , ignore concatenation find harder read.
i find funny can loop through mysql array can't echo simple string :p
some links (teach man fish...):
Comments
Post a Comment