|
Posted by Rik on 08/03/07 16:46
On Fri, 03 Aug 2007 18:39:51 +0200, Richard <sales@justmedals.com> wrote:
> Hi all.
> I have a PHP form for entering data on-line into a mySQL
> table..
> Because of the intended search facility, I require one field in the form
> to be completed with exact and precise item names and spelling.
> In testing, I had achieved this with look-up tables.
> Ideally I would like the selected item from one of five drop-down lists
> to autopopulate the form text field when selected.
> Alternatively at least the option of copy and paste.
> Copy and paste - for some reason will not work.
> Autofill worked fine on a test form with no database connection
> and in standard HTML and javascript, however, once the PHP
> is added to the page neither method works.
This shouldn't matter, if:
1. It works with plain HTML/javascript (if it doesn't, consult
comp.lang.javascript)
2. It doesn't work with PHP
It means you have an error in outputting the desired format in PHP,
possibly javascript/html syntax errors. PHP itself has very little to do
with it, as the browser could care less how it gets his info.
So: compare the plain html/javascript output with the one provided with
PHP, and find the difference in output formatting.
--
Rik Wasmus
Navigation:
[Reply to this message]
|