I've tried the following and I've been able to click on the title link and get the new page to come up but it looks like the string is empty and I can't seem to fix that, I'll explain with the code.
This is what I have now on one page:
[COLOR="red"]$link5 = "lyrics.php?ly='.$row[lyrics].'";[/COLOR]
echo '<tr bgcolor="' . $bg . '">
<td align="left"><font size="-1">' . $row['track'] . '</font></td>
[COLOR="Red"]<td align="left"><font size="-1"><a href="' . $link5 . '"> '. $row['title'] . '</a></font></td>[/COLOR]
And on the new page that loads when the link is clicked:
[COLOR="red"]<?php
echo' <td align="left"><font size="-1">"' . $row['lyrics'] . '"</font></td>';
?>[/COLOR]
This new page also has the following in the address bar:
mysiteaddress/lyrics.php?ly='..'
I'm assuming that means my string is blank?
Also when I try to change
[COLOR="red"]$link5 = "lyrics.php?ly='.$row[lyrics].'";[/COLOR]
to what I always thought to be proper:
[COLOR="red"]$link5 = "lyrics.php?ly=' . $row['lyrics'] . '";[/COLOR]
I get the following error:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING
which goes away after I remove the single quotes around lyrics in the square brackets.
Again I'm at a loss. Is it my second page that's the problem?
I'm still new at this, I was amazed I'd managed to get the new page to appear to load at all frankly. I'm thinking I should try
$link5 = "{$_SERVER['PHP_SELF']}?ly=' . $row['lyrics']";