Gossamer Forum
Home : Products : DBMan : Customization :

Re: Making New Users Add a Record?

Quote Reply
Re: Making New Users Add a Record? In reply to
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:

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).]
Subject Author Views Date
Thread Making New Users Add a Record? Marcus Duffy 4305 Sep 14, 1999, 3:13 AM
Post Re: Making New Users Add a Record?
Eliot 4161 Sep 14, 1999, 5:19 AM
Post Re: Making New Users Add a Record?
ER 4149 Sep 14, 1999, 11:58 AM
Post Re: Making New Users Add a Record?
Eliot 4247 Sep 14, 1999, 12:40 PM
Post Re: Making New Users Add a Record?
ER 4171 Sep 14, 1999, 4:05 PM
Post Re: Making New Users Add a Record?
Eliot 4186 Sep 14, 1999, 4:52 PM
Post Re: Making New Users Add a Record?
Sherwin 4156 Sep 14, 1999, 9:44 PM
Post Re: Making New Users Add a Record?
Eliot 4149 Sep 14, 1999, 9:51 PM
Post Re: Making New Users Add a Record?
Sherwin 4183 Sep 16, 1999, 9:05 PM
Post Re: Making New Users Add a Record?
Eliot 4158 Sep 16, 1999, 9:12 PM
Post Re: Making New Users Add a Record?
Sherwin 4155 Sep 18, 1999, 5:36 PM
Post Re: Making New Users Add a Record?
Eliot 4146 Sep 18, 1999, 6:03 PM
Post Re: Making New Users Add a Record?
Sherwin 4207 Sep 18, 1999, 7:45 PM
Post Re: Making New Users Add a Record?
Eliot 4137 Sep 18, 1999, 7:49 PM
Post Re: Making New Users Add a Record?
Sherwin 4147 Sep 18, 1999, 11:33 PM
Post Re: Making New Users Add a Record?
Eliot 4138 Sep 19, 1999, 8:29 AM
Post Re: Making New Users Add a Record?
Sherwin 4199 Sep 19, 1999, 10:18 AM
Post Re: Making New Users Add a Record?
Eliot 4156 Sep 19, 1999, 11:19 AM
Post Re: Making New Users Add a Record?
Sherwin 4196 Sep 19, 1999, 2:32 PM
Post Re: Making New Users Add a Record?
Eliot 4144 Sep 19, 1999, 4:58 PM
Post Re: Making New Users Add a Record?
Sherwin 4194 Sep 20, 1999, 11:24 AM