On Thu, October 5, 2006 2:55 pm, Satyam wrote:
> - Original Message -
> From: Martin Alterisio
> To: Satyam
> Cc: Deckard ; php-general@lists.php.net
> You're wrong, partially:
>
> I am sure you could have stated that in a more courteous way.
So, this Argentinian, Italian, and Eu
2006/10/5, Satyam <[EMAIL PROTECTED]>:
- Original Message -
*From:* Martin Alterisio <[EMAIL PROTECTED]>
*To:* Satyam <[EMAIL PROTECTED]>
*Cc:* Deckard <[EMAIL PROTECTED]> ; php-general@lists.php.net
*Sent:* Thursday, October 05, 2006 3:50 PM
*Subject:* Re: [PH
- Original Message -
From: Martin Alterisio
To: Satyam
Cc: Deckard ; php-general@lists.php.net
Sent: Thursday, October 05, 2006 3:50 PM
Subject: Re: [PHP] Help on objects
2006/10/5, Satyam <[EMAIL PROTECTED]>:
I've seen you already had a good answer on
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Satyam" <[EMAIL PROTECTED]>
Cc: "Deckard" <[EMAIL PROTECTED]>;
Sent: Thursday, October 05, 2006 11:16 AM
Subject: Re: [PHP] Help on objects
On Thu, 2006-10-05 at
2006/10/5, Satyam <[EMAIL PROTECTED]>:
I've seen you already had a good answer on the errors in the code so I
won't
go on that. As for OOP, the one design error you have is that you are
asking for an action, not an object. You want to make SQL inserts, that
is
your purpose, and that is an act
2006/10/4, Deckard <[EMAIL PROTECTED]>:
Hi,
I'm trying to lay my hands on PHP OOP, but it's not easy :(
I've read several examples in the web, but cannot transpose to may case.
I'm trying to set a class to make SQL inserts in mysql.
I have the class:
--
Undoubtedly. He could also use the PEAR DB abstraction layer.
"Satyam"
<[EMAIL PROTECTED]>; "Deckard" <[EMAIL PROTECTED]>;
Sent: Thursday, October 05, 2006 4:55 AM
Subject: Re: [PHP] Help on objects [with reply]
> Re the last suggestion, ensure you keep those database details outside the
> web root (ie in a file c
Re the last suggestion, ensure you keep those database details outside the
web root (ie in a file called connect.inc for example) or if have to keep it
there add a .htaccess file that prevents download of *.inc files.
Also, avoid use of the error suppression operator (@). You need to see your
err
]>;
Sent: Thursday, October 05, 2006 2:16 AM
Subject: Re: [PHP] Help on objects
> On Thu, 2006-10-05 at 07:04 +0200, Satyam wrote:
> > I've seen you already had a good answer on the errors in the code so I
won't
> > go on that. As for OOP, the one design error you have is
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Satyam" <[EMAIL PROTECTED]>
Cc: "Deckard" <[EMAIL PROTECTED]>;
Sent: Thursday, October 05, 2006 2:16 AM
Subject: Re: [PHP] Help on objects
> On Thu, 2006-10-05 at 0
On Thu, 2006-10-05 at 07:04 +0200, Satyam wrote:
> I've seen you already had a good answer on the errors in the code so I won't
> go on that. As for OOP, the one design error you have is that you are
> asking for an action, not an object. You want to make SQL inserts, that is
> your purpose,
On 10/5/06, Deckard <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to lay my hands on PHP OOP, but it's not easy :(
I've read several examples in the web, but cannot transpose to may case.
I'm trying to set a class to make SQL inserts in mysql.
I commend you on trying to build an OOP class for da
esign. Classes will usually have
names representing nouns, methods will be verbs, properties adjectives, more
or less, that's OOP for English teachers.
Satyam
- Original Message -
From: "Deckard" <[EMAIL PROTECTED]>
To:
Sent: Thursday, October 05, 2006 3:47 AM
S
On Thu, 05 Oct 2006 02:47:59 +0100, Deckard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to lay my hands on PHP OOP, but it's not easy :(
> I've read several examples in the web, but cannot transpose to may case.
>
> I'm trying to set a class to make SQL inserts in mysql.
>
> I have the clas
Hi,
I'm trying to lay my hands on PHP OOP, but it's not easy :(
I've read several examples in the web, but cannot transpose to may case.
I'm trying to set a class to make SQL inserts in mysql.
I have the class:
-
table = $table;
$this->sq
16 matches
Mail list logo