mysql - insert URL Link in php built from sql results -
when displaying table created sql query
i attempting change following line displays table row #
echo $row['id'];
so insert url link based on id
echo "<a href="/dbtest/updaterow.php?id=$row['id']>update</a>";
when above code, not getting error in http error log (normally syntax errors see them)
any doing wrong appreciated.
i have tried number of iterations each change results in blank page being returned , no error displayed in logs.
change line following:
echo "<a href=\"/dbtest/updaterow.php?id=".$row['id']."\">update</a>";
Comments
Post a Comment