> What I want to do is to only show 20 pictures at a time with a "Next" link
> and a "Previous" link. For the first 20 only the "Next" link would show and
> whenever the last set would show only the "Previous" link would. Every other
> time both would show.
>
> Can someone point me in the right di
I have an array with image names like:
$arrayone = array("1.jpg", "2.jpg");
$arraytwo = array("a.jpg", "b.jpg");
Then I have a variable for each to count the number of elements:
$arrayoneElements = count($arrayone);
$arraytwoElements = count($arraytwo);
I'm using the element
>-Original Message-
>From: Victor C. [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 02, 2004 3:06 AM
>To: [EMAIL PROTECTED]
>Subject: [PHP] php array question
>
>
>Hi,
>I have a line of php that I don't really understand.
>
>foreach($this->
Hi,
I have a line of php that I don't really understand.
foreach($this->orders as $OrderID => $value) {
echo $OrderID."";
$OrderObject =$this->orders[$OrderID=>$value];
echo $OrderObject->OrderID."<--all the same";
}
I know that $this->orders is an array of "order" objects.
the resul
4 matches
Mail list logo