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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -