dogugotw
10-21-2004, 05:34 PM
I have two small bits of code.
One HTML file that is a form - one text field, one submit button, user inputs a site name, hits submit, and the form action launches a php script.
One PHP file that takes the site name entered on the form, connects to a MySQL db, runs the query, and dumps the results to the screen.
If I run these file in Konqurer, it works like a charm.
If I run it with Firefox, Mozilla, or IE, the 'submit' button causes the HTML form to reload.
I'm new to all of the tools below - if I'm in the wrong place, feel free to point me to the right reference site.
I'm running
Apache 2x
PHP 4x
Mandrake 10.0
Sorry I haven't posted the code, but it's at home and I'm not. If you take any beginning form/php example from any book, it's the same thing.
TIA for any tips or pointers.
Doug
One HTML file that is a form - one text field, one submit button, user inputs a site name, hits submit, and the form action launches a php script.
One PHP file that takes the site name entered on the form, connects to a MySQL db, runs the query, and dumps the results to the screen.
If I run these file in Konqurer, it works like a charm.
If I run it with Firefox, Mozilla, or IE, the 'submit' button causes the HTML form to reload.
I'm new to all of the tools below - if I'm in the wrong place, feel free to point me to the right reference site.
I'm running
Apache 2x
PHP 4x
Mandrake 10.0
Sorry I haven't posted the code, but it's at home and I'm not. If you take any beginning form/php example from any book, it's the same thing.
TIA for any tips or pointers.
Doug