Hi if some one could help me please!!!!!!!!
in the html.pl in sub html_record
after
----
my (%rec) = @_; # Load any defaults to put in the VALUE field.
($db_auto_generate and print &build_html_record(%rec) and return);
print qq|
<table border=0>
<tr>
<td valign="top">
---
Im trying to add this
----
|;
$in{$db_cols[$Gen]} = N;
my ($status,@hits) = &query("view");
if ($status eq "ok") {
print qq|Kid Choose your gift here.
<SELECT NAME=Gift>
<OPTION SELECTED>
<OPTION VALUE=Miniplex - N>25
<OPTION VALUE=Megaplex - N>50
<OPTION VALUE=Gigaplex - N>75
<OPTION VALUE=Sweter Swatch - N>85
<OPTION VALUE=Fridays Certificate - N>225
<OPTION VALUE=Swatch watch -N>500
</SELECT><p>|;
}
$in{$db_cols[$Gen]} = A;
my ($status,@hits) = &query("view");
if ($status eq "ok") {
print qq|Adult Choose your gift here.
<SELECT NAME=Gift>
<OPTION SELECTED>
<OPTION VALUE=Miniplex- A>50
<OPTION VALUE=Megaplex- A>100
<OPTION VALUE=Gigaplex - A>150
<OPTION VALUE=Sweter Swatch - A>175
<OPTION VALUE=Fridays Certificate- A>450
<OPTION VALUE=Swatch watch - A>1000
</SELECT>|;
}
----
But it sends no information
The N is a default for all the kids in the database
and the A for the Adults..
What im trying to do is to give an especific select field for each user type insted of puting just one
in the html.pl in sub html_record
after
----
my (%rec) = @_; # Load any defaults to put in the VALUE field.
($db_auto_generate and print &build_html_record(%rec) and return);
print qq|
<table border=0>
<tr>
<td valign="top">
---
Im trying to add this
----
|;
$in{$db_cols[$Gen]} = N;
my ($status,@hits) = &query("view");
if ($status eq "ok") {
print qq|Kid Choose your gift here.
<SELECT NAME=Gift>
<OPTION SELECTED>
<OPTION VALUE=Miniplex - N>25
<OPTION VALUE=Megaplex - N>50
<OPTION VALUE=Gigaplex - N>75
<OPTION VALUE=Sweter Swatch - N>85
<OPTION VALUE=Fridays Certificate - N>225
<OPTION VALUE=Swatch watch -N>500
</SELECT><p>|;
}
$in{$db_cols[$Gen]} = A;
my ($status,@hits) = &query("view");
if ($status eq "ok") {
print qq|Adult Choose your gift here.
<SELECT NAME=Gift>
<OPTION SELECTED>
<OPTION VALUE=Miniplex- A>50
<OPTION VALUE=Megaplex- A>100
<OPTION VALUE=Gigaplex - A>150
<OPTION VALUE=Sweter Swatch - A>175
<OPTION VALUE=Fridays Certificate- A>450
<OPTION VALUE=Swatch watch - A>1000
</SELECT>|;
}
----
But it sends no information
The N is a default for all the kids in the database
and the A for the Adults..
What im trying to do is to give an especific select field for each user type insted of puting just one