Since you have two different "$db_setup" variables, try changing the following line in your sub html_add_form routine in the html.pl file:
value="$db_setup">
with the following:
Remember that in each of your sub-routines of your html.pl file, you will need to specify the EXACT database name (default or members) versus $db_setup.
Also, you have not added the line that I recommended:
in your db.cgi file.
Does this make sense?
Hope this helps.
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
[This message has been edited by Eliot (edited September 17, 1999).]
Code:
<input type=hidden name="db" value="$db_setup">
with the following:
Code:
<input type=hidden name="db" value="default">Remember that in each of your sub-routines of your html.pl file, you will need to specify the EXACT database name (default or members) versus $db_setup.
Also, you have not added the line that I recommended:
Code:
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'members');in your db.cgi file.
Does this make sense?
Hope this helps.
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
[This message has been edited by Eliot (edited September 17, 1999).]