Date: 12/23/99
- Next message: Kristian Köhntopp: "Re: [PHPLIB] Is it possible to send an object variable as a POST argument"
- Previous message: Eric Ries: "Re: [PHPLIB] Is it possible to send an object variable as a POST argument"
- In reply to: Christopher Klumb: "[PHPLIB] Sql_Query and $base"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christopher Klumb wrote:
> Please explain exactly what $base does within class Sql_Query.
The class does generate an input form. Input form elements must
have a name. That name will be $this->base. That is, all input
elements of the form generated by Sql_Query are produced by the
function makename, which does it like this:
## Given a basename $base, and attribute name $att and an attribute
## number $num, this functions returns an input field name
## $base[$name_$num].
##
## This construct can be imported into a function namespace with a
## single global instruction and the field name can be easily
## exploded into component names and numbers.
Kristian
-- Kristian Koehntopp, Knooper Weg 46, 24103 Kiel, +49 171 2231 811 Linux - Come to where the sourcecode is. Where software still is free and some men code what what others only dream of.- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Kristian Köhntopp: "Re: [PHPLIB] Is it possible to send an object variable as a POST argument"
- Previous message: Eric Ries: "Re: [PHPLIB] Is it possible to send an object variable as a POST argument"
- In reply to: Christopher Klumb: "[PHPLIB] Sql_Query and $base"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

