herghost Posted November 24, 2010 Share Posted November 24, 2010 Hi all, I am having problems in forming this link: { echo "<a title='page $i' class='current' href='javascript:ajaxpage('view.php?catid=" . $catid ."&" ; if($subid > 0) { echo "subid="; echo $subid . "&"; } echo "p=$i', 'content';'>$i</a> "; } Which currently points to javascript:ajaxpage( and then ends! Link to comment https://forums.phpfreaks.com/topic/219706-help-with-forming-php-echo-ajax-link/ Share on other sites More sharing options...
herghost Posted November 24, 2010 Author Share Posted November 24, 2010 nevermind echo "<a title='page $i' class='current' href=\"javascript:ajaxpage('view.php?catid=" . $catid ."&" ; if($subid > 0) { echo "subid="; echo $subid . "&"; } echo "p=$i', 'content');\">$i</a> "; Link to comment https://forums.phpfreaks.com/topic/219706-help-with-forming-php-echo-ajax-link/#findComment-1139041 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.