ページング付の一覧形式のページを簡単に作成できる
MyHome Portal では、ページ分割有りの一覧表形式ページ作成用の共有ライブラリを用意しています。
データベースのデータを表形式で表示したり、編集できるページを簡単に作成できます。
基本的なページであれば、実質のロジックは、 10ステップほどで出来ます。
if (isset($_POST['登録'])) { mp_list_update($mp_list_arg, $item_tbl, $order_tbl, $http_arg); } else { _GET_to_http_arg_pool($http_arg, $table_name, 'sort,key,pl'); html_header(HTML_TITLE); page_header(); contents_header(); if ($_GET['edit'] == "y") { mp_list_edit($mp_list_arg, $item_tbl, $order_tbl, $http_arg); } else { mp_list_view($mp_list_arg, $item_tbl, $order_tbl, $http_arg); } page_footer(); html_footer(); }