I have a problem, I can't create an array of classes into a class, for
example:
class one {
var $a;
function foo() {
echo "foo";
}
}
class two {
var $b;
function initialize() {
$b[0] = new one();
$b[1] = new one();
}
}
$test = new two();
$test->
I have a problem, I can't create an array of classes into a class, for
example:
class one {
var $a;
function foo() {
echo "foo";
}
}
class two {
var $b;
function initialize() {
$b[0] = new one();
$b[1] = new one();
}
}
$test = new two();
$test->
..
> Not tested, but what if you change
>
> $b[0] = new one();
> $b[1] = new one();
>
> to:
>
> $this->b[0] = new one();
> $this->b[1] = new one();
>
> On Tue, 3 Sep 2002, Rodrigo Dominguez wrote:
>
> > I have a problem,
You are doing wrong... you are checking for the temp file and after that you
are deleting the temp file, you should copy the files first
This is your code
if(isset($UploadedFile))
{
unlink($UploadedFile); // Here you are deleting the temp file
print("Local File: $UploadedFile \n"
I'm writting an application, a control panel for a web site, and it will be
great if I can separe data from presentation, I know that I have to work
with XML and XSL but I didn't understand how it works.
Can you give me a simple example?
Let guess that a client request index.php, and I have inde
If you are in a session you can register the array and it will be available
on the next page, once you finish working with the array, just unregister
the array.
File1.php action= file2.php
session_start();
session_register("foo");
var $foo = array();
File2.php
session_start();
Work with $foo
s
I don't know how to work with XML... I know that it's a good standard to
pass information between computer or applications, but I don't know how to
separe my data from my presentation on my PHP projects.
I always use OOP, I organize all the data in databases and clases, but I
always have to put s
Forgot a step: (1C) make an xslt stylesheet which is basically just a
> beefed-up html page.
> Check out devshed.cm
> xml.com
> and w3c.org for info on xslt stlyesheets
>
> Geoff Hankerson wrote:
>
> > Rodrigo Dominguez wrote:
> >
> >> I don't know how to
Why you can't use square brackets?
"Alex Shi" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How to ontain data from a group of checkbox using same name?
> For example, in a form there're 6 checkboxes and all named as
> "Interesting_Area". I know if put a
9 matches
Mail list logo