Received: from draco.over-yonder.net (draco.over-yonder.net [198.78.58.61]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6P8Ndf93119 for ; Wed, 25 Jul 2001 04:23:39 -0400 (EDT) (envelope-from gh@over-yonder.net) Received: by draco.over-yonder.net (Postfix, from userid 1012) id 705C262D0A; Wed, 25 Jul 2001 03:23:30 -0500 (CDT) Date: Wed, 25 Jul 2001 03:23:30 -0500 From: GH To: Rene-Raphael Cc: pgsql-php@postgresql.org Subject: Re: button tag problem Message-ID: <20010725032330.E81931@over-yonder.net> References: <200107201848.LAA29710@smtpout.mac.com> <200107210939.CAA08951@smtpout.mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200107210939.CAA08951@smtpout.mac.com>; from rene_raphael@mac.com on Sat, Jul 21, 2001 at 11:39:35AM +0200 X-OS: FreeBSD X-Archive-Number: 200107/22 X-Sequence-Number: 479 On Sat, Jul 21, 2001 at 11:39:35AM +0200, some SMTP stream spewed forth: > Hello, > Thanks for your emails. The BUTTON tag that i use in BOBDII is > different of the INPUT TYPE="SUBMIT" TAG because of the value send to > the server and the text display in the form are different. > > Example: > > At my knowledge, you must put the value of the primary key in the value > field and it will be show in the HTML document display by your browser. > > But with the BUTTON tag, the value of the primary key is HIDDEN and you > can show to the user what you want in HTML! > > You get the same functionality only it actually works. You could quite simply hack out a PHP function using GD to generate the images: function mkbutton($text) { gd_image_stuffage... blah blah header('Type: text/image'); /* or whatever */ gd_send_image() or whatever return((bool) gd_stuff_was_successful) } I haven't been In The Code in a while, and the gd stuff is all quite well documented so just go Look It Up. This method sholud work very well. A simpler approach would be simply to post the primary key as a hidden input. People really ought to learn browsers before they go off trying to write for them. Same goes for people writing browsers for html, heh. > Looks cool but IE do not support the BUTTON tag that is a STANDARD HTML > 4 TAG DEFINE BY W3C(.org) !?!?!? Yeah, so? What's your point? Tried using CSS lately? How about any of the other "web specifications". Get used to it. Mozilla is such a big slow dumb animal that most people won't use it. > I suggest to you to visit this site, the W3C give a free demo browser > for Windows and Unix named AMAYA that support all HTML 4 tags. I try it > and it give a very ugly display but it works. I do not know another 100% > HTML 4 compatible browser exept from Icab(.de), a Mac alternative one > and i do not know why Microsoft do not support this tag... I have used Amaya. As you say (in other words), it looks like shit. You can hardly expect people to use it. Opera, on the other hand, does a nice job of conforming and looks decent. > Some of my friends who are not developper like very must this tag > because of you can generate very attractive HTML pages. > > If nobody wants the BUTTON tag, i will use the old friend INPUT tag. > > Yours, > Rene-Raphael Pautasso > > > Le vendredi 20 juillet 2001, à 08:48, Rene-Raphael a écrit : > > > All forms are in POST and most use the BUTTON tag but this HTML 4 tag > > is not support by Internet Explorer 5. We use iCab, a Macintosh browser > > but on PC, i tried Amaya, the w3c browser, ugly but it works. Ugly, but it works. Yes, much like HTML. :) gh Yeah, ino ino, I am quite finished dragging this farther off topic. -- What, no one sings along with Ricky Martin anymore? My kid sister does (but then, she prefers pico to vi ...) -- Suresh Ramasubramanian, alt.sysadmin.recovery