DeX
-
Posts
258 -
Joined
-
Last visited
Community Answers
-
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.
-
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.