[PHP] Representing microtime() values

2007-11-26 Thread Tomi Kaistila
, I lose all but the two digits along the way. Tomi Kaistila PHP Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Representing microtime() values

2007-11-26 Thread Tomi Kaistila
wish to understand. PHP clearly stores a number with more than two decimal points when you call microtime(). But when you print it, it only shows two. Why is this? Tomi Kaistila PHP Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Representing microtime() values

2007-11-27 Thread Tomi Kaistila
the floating points. As will passing it into the round() function. Anyone know a workaround without using the bcmath library? Tomi Kaistila PHP Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Structured Code vs. Performance

2007-11-29 Thread Tomi Kaistila
conflicts. Hope that answered your question. Tomi Kaistila PHP Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mixing classes

2004-10-18 Thread Tomi Kaistila
this issue? I've looked for a solution for some time now, to no result. My PHP version is 4.3.8. -- developer programmer me tomi kaistila home http://www.datamike.org gnupg 0xFA63E4C7 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mixing classes

2004-10-18 Thread Tomi Kaistila
me tomi kaistila home http://www.datamike.org gnupg 0xFA63E4C7 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mixing classes

2004-10-18 Thread Tomi Kaistila
to you Dan, accidentally just went and hit the reply button. This is a copy of that message to the mailing list. -- developer programmer me tomi kaistila home http://www.datamike.org gnupg 0xFA63E4C7 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Mixing classes

2004-10-19 Thread Tomi Kaistila
Auth { var $dbObject = ; function Auth () { //Create an instance of you database class $this-dbObject = new Database($arg1, $arg2, $etc); } function doSomething() { // Execute a query $this-dbObject-query($sql); } } ? I hope this helps Best regards, Davy Obdam Tomi Kaistila wrote: Hey

Re: [PHP] Mixing classes

2004-10-19 Thread Tomi Kaistila
anywhere and alread have those variables available. Best regards, Davy Tomi Kaistila wrote: Hi! Thanks for the idea, hadn't actually thought of it that way. I had thought of passing objects (instance the db object to the auth object) by reference, but when thinking that while one class might only need

Re: [PHP] Mixing classes

2004-10-20 Thread Tomi Kaistila
programmer me tomi kaistila home http://www.datamike.org gnupg 0xFA63E4C7 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mixing classes

2004-10-20 Thread Tomi Kaistila
Hi all! I finally got what I was after, after numerous tips and suggestion. Thank you for your patience. Special thanks to Bruno Magalhães, Thomas Goyne, and Davy Obdam. Thanks again :-) -- developer programmer me tomi kaistila home http://www.datamike.org gnupg 0xFA63E4C7 -- PHP General