php-windows Digest 3 Sep 2003 15:07:55 -0000 Issue 1898

Topics (messages 21308 through 21310):

Re: stuck with substr now .......
        21308 by: toby z

User Group
        21309 by: Jeff Myers

Cant get maths Functions to work in class
        21310 by: Mark Harrington

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
thnx chris

i dunno when ill start to see things properly 
i guess ill ve to open up ma eyes fo that ......


thnx again

toby

 --- Chris Kranz <[EMAIL PROTECTED]> wrote: > >
> > and for this i need to splitt the title retrieved from db to two
> > strings ......
> >
> 
> 
> $array = explode( "/r/n", $stringToSplit );
> print $array[0]; //first part
> print $array[1]; //second part
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

--- End Message ---
--- Begin Message ---
any one know of any articles to share with a computer user group or post in a local 
paper about linux for newbies?


Thanks

Jeff

--- End Message ---
--- Begin Message ---
I have designed a class that multiplies one of the varibles by two but when
i pass the values to the contructor i cant get the answer out any ideas

Here is the full script "If you can recognise the problem can you explain
why its wrong and why its not working "Ps learning the langauge "

The Class File

class purchase {

var $PartNumber;
var $Description;
var $Unitprice ;


   // this is the constuctor

 function purchase($partnumber,$desc,$price)
 {
  $this->PartNumber = $partnumber;
  $this->Description =$desc;
  $this->Unitprice =$price;
   echo "Object created partNumber = $this->PartNumber <br>";
 echo " This Objects Description = $this->Description <br>";
 echo " This Objects Price is $this->Unitprice <BR>";
//this doesnt work why ??
 echo " price * two is $this->Unitprice*2<BR>";
 }// end constructor


}


$myObject = new purchase(1,"Speaker",23.00);

?>


[EMAIL PROTECTED]

--- End Message ---

Reply via email to