[KLUG Members] PHP project

randall perry members@kalamazoolinux.org
Thu, 31 Oct 2002 09:06:20 -0500


Bill Wrote:
>Took a look at the code.  The multiple entry boxes don't work in Netscape or Opera
>and so would not be able to use the form. I could see it in Mozilla and (ack,
>cough) IE.  DHTML is nice, but you should provide a way for DHTML to fail
>gracefully that still works for other browsers.
Oops. I only tested it in IE and Mozilla (the browsers that run on the user PCs). I will definately need to fix that!

>with this:
>include ("../configs/dbconfig.inc");
Yeah, and with Adams suggestion of PHP extension would be a good change

><option value=\"Byron \">Byron R
The actual form has the last names in the value (I cleaned them -but not the space- before posting source on the web)

>Third, give form fields intelligible names, instead of
><input type=text name=box2 value=$box2 >
I did have more sensible names, but I changed them to make use of a script I found a while back.  The script steps from input field to input field when the user presses Enter, instead of just submitting the form.  The boxes are numbered in the order of which they are 'tabbed'.  Pretty cool, huh?

Very Good suggestions all around!

I am not very proficient in PHP.  I learned by looking at other peoples code and then try using it in a different way.  As you can see, I still have some things to learn. 
Hey, at least I do all HTML, ASP and PHP coding in a text editor (ok, every coupla months I hit Dreamweaver).  Don't you hate when people call themselves _webmasters_ because they can compose a page in Mozilla.  ); ))

Thanks Everyone.
Randall Perry
www.domain-logic.com