Re: Is it possible to do this in PHP ? If it is then, how ?
| From: | Marek Kilimajer | Date: | Wed, 27 Nov 2002 13:34:05 +0000 |
| Subject: | Re: Is it possible to do this in PHP ? If it is then, how ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126272@lists.php.net to get a copy of this message | ||
Using javascript you can change the src of image. So you start with blank image, and if onchange
event handler finds out the input field has two chars, changes the src of the image to say show_image.php?id=input.value
Axis Computers wrote:
Hi, I was wondering if this is possible to in PHP ... I am developing an application for a pizza place, where touch typing interface is much faster than using the mouse, so I was wondering if I can develop an interface with a calculator style keypad, and the codes entered (using something like STDIN in Perl), are automatically compared to the MySQL database to provide realtime feedback to the user, such as code 32 is hawaian pizza, and after the user enters code 32 Hawaian pizza get's displayed as feedback ... and then awaits for some other input such as size, etc... i.e. x-----------------32 Hawaian pizza 14" $ 12 xx xxxxxxxxxxxxx xx xxxxTotal = .... Thanks in advance, Ricardo Fitzgerald AXIS Computers Web development __________________________________________________________________ Omni ICQ#: 37031810 Current ICQ status: + More ways to contact me __________________________________________________________________