John Lim [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have always wondered, how do you pronounce L0t3k?
actually low-tech. most days i dream of woodworking g
Seriously, if you are duplicating Metabase's effort, but in C,
why not work with the Manuel
Lukas Smith [EMAIL PROTECTED] wrote in message
008a01c1d2fb$952b4630$4d00a8c0@vandal">news:008a01c1d2fb$952b4630$4d00a8c0@vandal...
There is currently an effort underway to merge Metabase with PEAR DB.
I have just commited the first code into the pear cvs (package is called
MDB for now). The
L0t3k [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
im looking for opinions on two OOP related design issues for code im
targeting to PHP5.
(2) im working on a database access abstraction, again inspired by Java
and
JDBC (MySQL driver is written and works,
(2) im working on a database access abstraction, again inspired by
Java
and
JDBC (MySQL driver is written and works, BTW). in Java you have the
Resultset.getXXX methods which gets the value of a given column as a
particular type. Java of course is strongly typed, whereas PHP is not.
Is
it
On Sat, Jan 05, 2002 at 02:10:17PM -0600, Brian Foddy wrote :
2. Overload the function arguments and check which type of arg is being
passed.
Just accept a ZVAL and do your appropriate conversion later
on.
Questions...
2. How difficult / successful is it to test the arg type
Just be aware that POST/GET/COOKIE data is always saved as a string. So if
someone sends you 2 it'll be the string 2.
If the arguments to your function won't originate from the above but are
written by the developer then overloading will work well. If not you might
want to consider splitting
Hi
If there aren't any guides, then some sample code would be much appreciated
:)
I can give you some samples for creating an object and adding members, but I
haven't added any member functions, but this shouldn't be more difficult, I
feel...
if (object_init(return_value) != SUCCESS) {