ts order by
> > receipt_id DESC LIMIT
> > > 0,1";
> > > $order = mysql_query($query);
> > > $myrow = mysql_fetch_array($order);
> > > $my_id = $myrow["orderid"];
> > > $my_id = $orderid;
> > > return $orderid;
> > >
No, it should not return what you want.
When you do
$orderid = mysql_query($query);
all this does is actually execute the query, and returns an array
containing the actual result set.
What you need to do from here is to do:
$myrow = mysql_fetch_assoc($orderid);
Now, what you have is an associati
2 matches
Mail list logo