Sunday 15 March 2015

hyperlink - PHP a href not linking -



hyperlink - PHP a href not linking -

i've been working on managing site little bit , out of today i've lost functionality of links (of type).

i've looked high , low, , i'm pretty sure syntax right on link (it's never given me problem before), reason won't link now! want pass 'somestring' element $array[] mypage.php. hovering on link displays right url, clicking doesn't anything. nor can right-click on element in browser "inspect element", go figure!

echo "<li><a href='mypage.php?q=" . $array[$j]['somestring'] . "'>" . $array[$j]['name'] . "</a></li>";

any suggestions appreciated.

view source , see it's outputting. i'd bet somestring has quotation mark in - should running through urlencode, likely.

php hyperlink href

No comments:

Post a Comment