I'm trying to echo out a line out of my database.
The code looks like this:
echo '<a href="#">" . $row["contact"] . "</a><br />';
So, what I want, is that when the row appears on the screen, the contact line (the mail-adress) should be a linked line to the filled in contact-line. My code does not work. The screen is just white.
Any ideas?
try this...
echo '<a href="#">' . $row["contact"] . '</a><br />' ;
Your quotes are mixed up:
echo '<a href="#">" . $row["contact"] . "</a><br />';
^ ^ ^ ^
Should be:
echo "<a href=\"#\">" . $row["contact"] . "</a><br />";
Or:
echo '<a href="#">' . $row["contact"] . '</a><br />';