Jump to content

DeX

Members
  • Posts

    258
  • Joined

  • Last visited

Community Answers

  1. DeX's post in How to point last element of an array in PHP? was marked as the answer   
    $lastItem = $yourArray[count($yourArray) - 1]; If your array has 10 items in it, you want to point to index 9 because it's a zero based array (first item is index 0). So you want to point to the count (quantity) of items in the array minus 1.
  2. DeX's post in How do I choose a PHP payment gateway? was marked as the answer   
    Moneris would have taken 3 weeks and a credit check to set up. Went with PayPal to meet the project deadline.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.