Jump to content

Help with forming php echo ajax link


herghost

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.