[PHP-DB] Inheritance question

2007-03-19 Thread Craig Hoffman
Hi there, I could use some help in understanding inheritance and accessing certain properties in objects. For example (see below), lets say I would like to use public $one property in a new class / method (such as class b)? What is the best way to accomplish this? Any help and or

Re: [PHP-DB] Inheritance question

2007-03-19 Thread Niel Archer
Hi For example (see below), lets say I would like to use public $one property in a new class / method (such as class b)? What is the best way to accomplish this? Any help and or suggestions are welcome. class a { public $one; public function someMethod() { $this-one

Re: [PHP-DB] Values in a date field

2007-03-19 Thread bedul
sry.. just check the script.. if able.. plz info me - Original Message - From: [EMAIL PROTECTED] To: php-db@lists.php.net Cc: [EMAIL PROTECTED] Sent: Sunday, March 18, 2007 8:38 AM Subject: Re: [PHP-DB] Values in a date field Assuming you're using MySQL, try MONTH(). As in: SELECT

Re: [PHP-DB] IF ( $_POST['submit'] == Update Subscriptions OR $_POST['submit'] == Update Entire Account ) {

2007-03-19 Thread bedul
hi.. - Original Message - From: Ron Piggott [EMAIL PROTECTED] To: PHP DB php-db@lists.php.net Sent: Monday, March 19, 2007 4:26 AM Subject: [PHP-DB] IF ( $_POST['submit'] == Update Subscriptions OR$_POST['submit'] == Update Entire Account ) { I am wanting to ask a question about IF