|
From: <php...@li...> - 2010-03-29 20:51:41
|
Hi,
> <?php
>
> try {
> $prepago = new java("prepago");
> } catch (JavaException $e) {
> echo $e;
> }
> ?>
which error message do you see when you run the above code?
Does your class have a public constructor? If you want to access
procedures of constants from your class, use the java function. If you
want to access class features, use the constructor.
Regards,
Jost Bökemeier
|