Mohamedwaly Posted July 23, 2010 Share Posted July 23, 2010 hello it's a beginning question i make a php page in Joomla and make it as Article for example the link of this page is as following http://localhost/11/index.php?option=com_content&char=Z&no=0&view=article&id=14:lorem-ipsum&catid=13:example-category&Itemid=42 i want to make a link to same page and change "&no=0&char=S" without know the address for example i try to make this <a href="<?php echo curPageURL().($no /20)+2; ?>">Next</a> but it didnot work <a href="<?php echo .($no /20)+2; ?>">Next</a> not work i try <a href="<?php printf (curPageURL(),($no /20)+2); ?>">Next</a> the output is http://localhost/11/http://localhost/11/index.php?option=com_content&char=Z&no=0&view=article&id=14:lorem-ipsum&catid=13:example-category&Itemid=42 i just want to change $no and $char in same link of page how can i do thanks Link to comment https://forums.phpfreaks.com/topic/208660-php-echo-and-links-help/ Share on other sites More sharing options...
Mohamedwaly Posted July 24, 2010 Author Share Posted July 24, 2010 can anyone help? Link to comment https://forums.phpfreaks.com/topic/208660-php-echo-and-links-help/#findComment-1090764 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.