I am sure this has been answered in over whelming detail in this group,
however the search results have not turned up any thing I am interested
in.
I want a simple form generator in PHP that accesses a Mysql database.
The program should (ideally in my opin):
Generate a form when given a database name and table.
Options for display only, insert new record, and edit.
This is for internal company use only. So it does not have to look
terribly pretty.
Most of the form generators I have found require a considerable amount
of coding to display a form nearly equal to what writing a form from
scratch would require.
I am looking for something like:
include('form_l ine_generator.p hp');
$db_name="my_da tabase";
$table_name="cu stomers";
$new_form= new form_line_gener ator();
$new_form->get_connection ();
$new_form->set_database_n ame($db_name);
$new_form->select_db();
$new_form->set_table_name ($table_name);
$new_form->run_columns_qu ery(); // get the db columns names
from db
$new_form->generate_new_i nsert_form('not edit');
I started writing my own, but I am out of time!
however the search results have not turned up any thing I am interested
in.
I want a simple form generator in PHP that accesses a Mysql database.
The program should (ideally in my opin):
Generate a form when given a database name and table.
Options for display only, insert new record, and edit.
This is for internal company use only. So it does not have to look
terribly pretty.
Most of the form generators I have found require a considerable amount
of coding to display a form nearly equal to what writing a form from
scratch would require.
I am looking for something like:
include('form_l ine_generator.p hp');
$db_name="my_da tabase";
$table_name="cu stomers";
$new_form= new form_line_gener ator();
$new_form->get_connection ();
$new_form->set_database_n ame($db_name);
$new_form->select_db();
$new_form->set_table_name ($table_name);
$new_form->run_columns_qu ery(); // get the db columns names
from db
$new_form->generate_new_i nsert_form('not edit');
I started writing my own, but I am out of time!
Comment