Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
Code Red

Looking for some help with split_page_results

Recommended Posts

This is probably really elementary and I'll kick myself when you tell me, but I can't seem to pull this off -

 

With respect to the function display_count which is in split_page_results, how do I get $from_num as a usable variable?

 

I want to number each line in the product listing result, and to do that I need the "from" value to use as an index... unless there's a simpler way, of course.

Share this post


Link to post
Share on other sites

Don't worry, cracked it. This is probably a bit clunky, but....

 

$count = $listing_split->display_remote_count('%d');

 

Well, it works :rolleyes:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×