Using Double-Quotation Marks in a URL

Connor080

New Member
The link below works fine unless the variable \[code\]$row["title"]\[/code\] contains a double-quotation mark ("). In that case, everything after the quotation marks is omitted in the link. How can I make the link include everything after a double-quotation mark?Thanks in advance,John\[code\]echo '<td class="sitename2"><a href="http://www...com/.../comments/index.php?submission='.$row["title"].'">'.$row["countComments"].' COMMENTS</a></td>';\[/code\]
 
Back
Top