RE: [PHP] could i get a clue?

From: Date: Wed, 15 Aug 2001 14:48:58 +0000
Subject: RE: [PHP] could i get a clue?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62838@lists.php.net to get a copy of this message
This particular application is designed to assist someone working on data entry, and is currently in production. She inputs 100's of mail-in reply cards into a database using a php webpage. The first field of the form is for the email address listed on the reply card. If the email address is already in the database, the person doing data entry will see an image of a red light, if the email address is not in the database the person doing data entry will see an image of a green light. Kind of weird, true, but exactly what she wanted. Why should the person doing data entry have to type in email address, mailing address, first name, last name, etc. just to get an error saying duplicate entry found? This way she can choose to replace the record or just skip it depending on the results (red or green). The changing image increases her productivty by decreasing time spent inputing duplicate data. And also is one possible answer to the question, "How do I access php from JavaScript". I fail to see how this is a "horrible construction". Solves a problem with minimal input from user, quickly, and completely. How is this horrible? Its a functional tool, that is used ever day with 0 complaints. Horrible? Inigo: "You keep using that word. I do not think it means what you think it means." Robert Zwink http://www.zwink.net/daid.php -----Original Message----- From: Renze Munnik [mailto:renze@datalink.nl] Sent: Wednesday, August 15, 2001 10:30 AM To: Robert V. Zwink Cc: marilyn manson; php-general@lists.php.net Subject: Re: [PHP] could i get a clue? On Wed, Aug 15, 2001 at 10:20:39AM -0400, Robert V. Zwink wrote: > > // Besides that... what if I want to do some _serious_ processing > // instead of 'drawing' an image? > > Actually you just readfile an existing image, how much processing does that > involve? Not too much. I didn't say that your construction doesn't work, but it's not the way to develop your sites. By using horrible constructions you can make 'good-working' site, but that doesn't make it a good site. You should always avoid using such terrible constructions. I mean... why creating an image if you never intended to do anything with images? Just because you want to have some weird construction on your site and you can't think of anything else, soon enough? > > // The popup is the same thing as I said. You just redirect to a > // different (PHP-)page. So... nothing new! > > For future reference: > > window.location.href="myscript.php" > > != > > window.open('./myscript.php','mywindow','width=400,height=400,scrollbars=yes > ') It's the same kind of construction. You redirect the user to a completely different page. > > No offense intended, None taken... and none intended... -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- H: +31 23 5516190 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#62838) next »