I have a lot of admiration for anyone who knows anything about 3 languages!
With your first question, you have to set
$auth_no_authentication = 0;
in order to be able to login as admin. But you can have a default user add records. Set
$auth_allow_default = 1;
@auth_default_permissions = (1,1,0,0,0);
With that setup, users can add without logging in, but only you can modify or delete their records. Is that what you wanted?
I'm still not sure about your search question. Unless you want to have a search form that's different from the add/modify form(?). If that's what you want, copy your html_record_form subroutine and paste it somewhere (not in another subroutine!
) in your html.pl file. Change the name to html_search_form. Delete all the fields you don't want people to search on. In html_view_search, change
&html_record_form();
to
&html_search_form();
That should do it. If I've misunderstood what you want to do, give it another try. I'm slow sometimes, but eventually I get there.
I think it's wise to work on one or two things at a time. We'll still be here when you're ready for more.
Quote:
thank JPD You r the Woman!
Thank you!
------------------
JPD