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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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)? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.