mjahkoh Posted November 19, 2007 Share Posted November 19, 2007 Trying 2 convert my coldfusion pagination 2 php. The two problematic lines are <span>Page #currentPage# of #numPages#</span> <a class="last" href="#newURL##Attributes.variable#=1" title="First page">«</a> please help mjahkoh Link to comment https://forums.phpfreaks.com/topic/77933-whats-the-equivalent-in-php/ Share on other sites More sharing options...
r-it Posted November 19, 2007 Share Posted November 19, 2007 try this <span>Page #currentPage# of #numPages#</span> <a class="last" href="page.php?variable=1" title="First page"> and you use the $_GET to get the detail Link to comment https://forums.phpfreaks.com/topic/77933-whats-the-equivalent-in-php/#findComment-394474 Share on other sites More sharing options...
mjahkoh Posted November 19, 2007 Author Share Posted November 19, 2007 Tried this two yet nothing doing 1. <span>'Page' . $currentPage . 'of' . $numPages</span> 2. echo '<span>'Page' . $currentPage . 'of' . $numPages</span>'; where am i going wrong Link to comment https://forums.phpfreaks.com/topic/77933-whats-the-equivalent-in-php/#findComment-394487 Share on other sites More sharing options...
Wes1890 Posted November 19, 2007 Share Posted November 19, 2007 ^ Are the variables even set anywhere in the script (in php)? Link to comment https://forums.phpfreaks.com/topic/77933-whats-the-equivalent-in-php/#findComment-394493 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.