Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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.

Posted

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

 

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

 

Well, it works :rolleyes:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...