Graham Anderson wrote:
Hi
I am allready using a 'rank' field now... with 1 to N :) There are just
so damned many of them to order manually
the up/down button solution...is there a tutorial or php class out there
I could take a look at...
where you:
give the class a query...
the up and down link
Hi
I am allready using a 'rank' field now... with 1 to N :) There are
just so damned many of them to order manually
the up/down button solution...is there a tutorial or php class out
there I could take a look at...
where you:
give the class a query...
get a found set back as html with these up/
On Tue, April 26, 2005 7:05 pm, Graham Anderson said:
> lately, I'm finding myself reordering large amounts of rows populated
> from a database query ...with an order_id field
> this is a bit tedious re-entering every order_id for a found set :(
Do different users get to order differently, or is
GD is your friend for images with php. If your asking how to access java
classes from PHP you may want to visit
http://www.php.net/manual/en/ref.java.php
-Brent
- Original Message -
From: "Mulley, Nikhil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 11:28 P
You need to read manual section about object oriented programing in php:
http://www.php.net/oop
Antonio Bologna wrote:
Sorry, here it is the code:
/* Trying to use queues in PHP, let
* see if that works.
*/
class ArrayQueue {
var $theArray = array();
var $currentSize;
var $front;
var $back
BENARD Jean-philippe wrote:
[ snip ]
Is there something to do in order that when I use
xxx_cl_app->ExecuteQuery(), there's a function ExecuteQuery() in
xxx_cl_app that do something like this :
(xxx_cl_app.php)
function ExecuteQuery(x,y) {
$tmpResult = [herited_class]->ExecuteQuery(x,y);
You can do one of 2 things.
1. You can comment out the ExecuteQuery Function in the child class.
2. When you call the function in the child class simply call it as
Parent::ExecuteQuery. This way php will know what function you are trying to call.
cheers
Moiz
-Original Message-
From:
Here's a quick function of the top of my head. I'm not sure if
x.x.0.x or x.0.x.x are valid IP addresses. Adjust as necessary.
255) {
echo "First octet of IP address cannot exceed 255";
return false;
}
$ip_list[]=implode(".",$octet);
}
return $ip_list;
}
$arr=cidr("192.1
Do you know where I can find more info on how to use the scope resolution
operator?
My searches aren't giving much (at leant not mcuh regarding php) and in the
manual, it only shows up momentarily as a note in the operators section...
Mark
"Nick Oostveen" <[EMAIL PROTECTED]> wrote in message
That seems more like what I'm looking for..
Thank you, Nick...
Mark
"Nick Oostveen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If you are just trying to access a classes functions without creating an
> instance of it you're probably looking to use the
Well, I actually have a full db class which has a connect and close method
as well as query, fetch_array, etc... What I really want to know is how to
use the methods in my db class from another class (myclass for example)..
Do I include the db class from the myclass constructor and then set a
my
If you are just trying to access a classes functions without creating an
instance of it you're probably looking to use the scope resolution operator
::. For this to work all you have to do is ensure that the definition for
the class you wish to use is included into the file containing the clas
I would suggest you write a method (called mydb() for example) that connects
to your database, and if needed, call it from your constructor like:
$this->mydb(); This way you can always reuse the method from other code.
hth,
Steve.
-Original Message-
From: Mark Armendariz [mailto:[EMAIL P
I havent used them in php/pear but here is some more info
http://www.php.net/manual/en/class.pear.php
--
Chris Lee
[EMAIL PROTECTED]
"Martín Marqués" <[EMAIL PROTECTED]> wrote in message
01062015390800.12018@bugs">news:01062015390800.12018@bugs...
> Can we dream of having destructors in c
14 matches
Mail list logo