On Mon, 13 Sep 2004 08:04:41 -0700 (PDT), Dan McCullough
<[EMAIL PROTECTED]> wrote:
> $sql = "SELECT dealer.dealerid as ddealerid, dealer.company as company, dealer.name
> as name,
> dealer.surname as surname, dealer.email as email, dealer.contactday as contactday,
> orders.orderid
> as oorderid
okay I am working with this now.
what I am seeing is that any information that I want to pull is not coming.
$sql = "SELECT dealer.dealerid as ddealerid, dealer.company as company, dealer.name as
name,
dealer.surname as surname, dealer.email as email, dealer.contactday as contactday,
orders.orde
On Mon, 13 Sep 2004 07:14:31 -0700 (PDT), Dan McCullough
<[EMAIL PROTECTED]> wrote:
> here is the code.
>
> $sql = "select * from dealer, orders where orders.status='10' and
> orders.dealerid =
If you want to associate the orders with the dealer, you probably want
to do a LEFT JOIN with the relev
here is the code.
++
// end headers
//$sql = "SELECT * from orders WHERE status='10' and dealerid >= '1'";
$sql = "select * from dealer, orders where orders.status='10' and orders.dealerid =
dealer.dealerid order
On Fri, 10 Sep 2004 13:33:37 -0700 (PDT), Dan McCullough
<[EMAIL PROTECTED]> wrote:
> So I have orders and customers. I need to go through and list out the orders and
> then I need to
> use the customer to grab all the order associated with them, then list out their
> contact
> information. Any
Assuming your array is called $array1:
$paths = array();
foreach ($array1 as $data_ptr => $data)
{
if (!in_array($data['path'],$paths) $paths[] = $data;
}
sort($paths)
foreach($paths as $path_to_check)
{
foreach($array1 as $data_ptr => $data)
{
if ($data['path'] == $path_to
On 05 February 2004 04:33, Justin French wrote:
> Hi,
>
> I've read and re-read array_multisort(), but still can't get a grip on
> how to sort my array:
>
> Array
> (
> [0] => Array
> (
> [path_id] => 3
> [year] => 2004
> [month] => 02
>
would usort() be better for this?
Martin
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 5 February 2004 3:33 PM
> To: php
> Subject: [PHP] multi dimension array sort help
>
>
> Hi,
>
> I've read and re-read array_multisort(), but still can't get
8 matches
Mail list logo