Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Dynamic Form Processing


Im writing a script for processing a form created by a csv file. this form is created through a loop, where $num is the place in the loop. Code:




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Processing Dynamic Forms
I have a form that is generated with the result of a query, each row returned from the query is used in the form and a checkbox is added. I want the user to check off multiple records to be modified and process the form.

I have a line that generates the form like so:

print "<tr><td>$id</td><td>$action</td><td>$request_dt</td><td><input type=checkbox name=request$id></td></tr>n";

I want to be able to loop through and get the $id and $action and perform my query actions for that record and move on. I know I have seen this used in many web sites but have never needed to do it myself. I have toyed with using REs to get the $id from the name and process it but seems to me there must be a better way.

Dynamic Multiple Input Processing
I am creating a simple "or so I thought" php/mysql survey.
There are 3 types of Surveys, with different questions. 1 for Clients,
1 for Employees, 1 for Peers.
Questions for each survey are created, editable, removable, and drag/
drop sortable.
Options to these questions are dynamic themselves.

Basically, everything works except when I try to Insert the data into
the answers table.

The one question I'm looking for is how would one process the data
based on the respective question_id's?
Sending it to another page would require an excessive amount of _POST
variables, and like i said before, there are different questions for
each survey.

or would this work? (it doesn't seem to process)
if($submit){
for($i=$start; $i<=$end; $i++){
$query[$i] = "INSERT INTO answer(ansresult, ansdesc, idquestion,
idsurvey) VALUES('q_$i','exp_$i','$idquestion','$surveyType' )";
$result[$i]= mysql_query($query[$i]);
if($result[$i]){$success++;}
}

$msg = sprintf("Success: %d, Questions: %d",$success,$end-$start);
echo($msg);
}

Form Processing
I created a form and after submission it is checked if the user filled out certain field. If not he/she kan try a Try Again button and is returned to the page with the form.
I constructed the form so the different textfields after the user clicks Try Again still contain the details she previously filled out. This works fine with ordinary text input fields, but not at all with checkboxes and a textarea, presumably because these fields do not have a 'value' attribute that could contain the $textarea or $checkbox variables.
Hope I made myself clear.

Form Processing
I have a file (index.html) and this file will be submitting some information to a PHP file (file1.php). In file1.php, there will be a few tests on the data submitted, and depending on weather or not the data is acceptable or not, it will eather forward the data to another PHP file (file2.php) or return to index.html with an error.

My problem is I don't know of any way to forward the data submitted to file1.php, to file2.php. Adding to the original problem is that file2.php is located on a different server, and its contents will not be given out.

Form Processing
i am currently building a site that will provide a free e-mail service hosted by bigmailbox.com. i am also providing a community area, where users can sign-up and post messages. i was wondering if there would be a way to combine the form for the e-mail program with the form for the community and add the same username and password to both programs.

here's what i would like to do: have one form that would include several different fields.
upon submitting the form, i would like for some of the variables to be posted into my mysql database, and other variables (some of the same ones posted to the database) be passed to a cgi script on bigmailbox.com's servers.

Form Processing
Been working on this for weeks and am quite frustrated that none of my varied modifications have made much of a difference. Is anybody able to help me out with this? I have abbreviated the code to highlight the problem areas.

When the form data is emailed, if more than one checkbox (each with a distinct name & value), is checked, the info output in the email of selections #2 and #3 are repeated 2 - 3 times. Other than that small glitch, everything works perfectly. Code:

Form Processing
I'm trying to build a registration form. I have the form completed and everything. The action of the form is currently on _Server['PHP_Self'] so I can view if the script is working without actually inserting anything in a database. I currently new to PHP, so I can't understand everything on why it's not working properly.

I have 6 input fields , for the user to put in. Here is the code I currently have. The problem I'm having is I have this certain line in the code if ( eregi('^[[:alnum:].'-]$', stripslashes($name) ) ) to check for openspaces or anyother character. Now I have it saying that if it is true, echo a line, so I can see it is currently working. The problem is even is there is only letter in it, it still does the 'else' function. I don't understand why. Code:

Form Processing
I have a MS Access database which holds my products. On my products.php page i use PHP to access the products and output them in a list on the page. As well as displaying the results i echo out a text field after each record displayed called 'code', which is for the user to enter the product code of the item they wish to buy into.

Because text field will appear after every record in the database i have called it 'code' in order for me to then have some php code submit all of the fields which the user has filled out and place them in a single field within my database and have each order nuber separated by a comma. Code:

Processing Dyn. Form When I Don't Know How Many Rows
I build a form dynamically from a mysql database, and then name each record to build a form. How do I "display" it once it is submitted if I don't know beforehand hand many rows, and therefore, how many IDs there are going to be? Code:

Form Processing Within PHP_Self
I am running forms from one script, posting at PHP_Self... So, whenever I want to process some submitted data, I use PHP Code:

Processing Form Data
I've just built a form that enables users to pick a city from a pull down menu. On the processing page i want to assign the city picked to a variable. So lets say the name of the form is "city" and i want to assign the city picked to a variable.

$citychosen = ********

What do i use to get the chosen city there. I want to use the variable in the next part of the page which uses an SQL query to show info about the city chosen. So the SQL query would look like this Select * from table1 Where city=$citychosen .

Form Processing With Checkbox ?
I am currently writing a webpage that displays a list of records (
each record has a checkbox associated with it) to allow users to
select any record they want to delete (much like in "hotmail" or
"yahoo" e-mail where u can select particular message to delete) ?

Anybody have any idea how to do it ?

And one more question, I like to write my page so that when the user
click on a checkbox associated with a record. That record (that row)
is highlighted (like in "hotmail"), anybody has any idea how to do it
?

Php Form Processing Program?
Are there open source php form processing programs? I know there are free
php form mail code, but if it's classified as open source, I would think any
bugs can be fixed much faster. If not, then which free program is the perfer
choice?

Odd Result From PDF Form Post Processing
I have a PDF form that contains a submit button with an associated action that causes the populated PDF file to be submitted to my web server, similar to POSTing an HTML form, but instead it happens via Acrobat, no HTML involved. Code:

Form Processing - Select Multiple
I'm trying to process a form that contains a SELECT with the MULTIPLE qualifier, but PHP only seems to be receiving the last selected entry in the list rather than all selected entries.

I tried parsing as an array (because the HTML definition says it should pass key pairs) but that gives me a run-time error saying the appropriate named variable isn't an array.
I've tried submitting to a script that displays php_info and the _POST vars entry lists just the single value.

I know that SELECT MULTIPLE is rarely used, but has anybody tried this before and encountered similar problems. any pointers on how to retrieve all the selected options gratefully received.

Selective Form Data Processing
I have *quite a bit* of form fields for a certain form that needs to be eMailed. The problem is that when completely filled out, there is quite a bit of information to be emailed. How would I go about telling the PHP to ignore any forms that are not filled out -- letting it process less code? If this helps, the coding for the page that does the actual processing is: Code:

Drop Down Menus And Form Processing
I select a client from the first drop down menu, then a list of events for that client is shown in the second drop down menu. I then want to select the event from the second drop down and automatically go to a form I built "editevent.php3" showing information echoed from mySQL for that event. I have started the code, but know it is not complete. Code:

Form Processing With Input Validations
I am creating a form Form1.php that posts to the another form
Form2.php.

I have input validations on the first form. I need the user to go to
the next form ONLY if the inputs from the user are valid. I have not
been able figure out how to do this since the first form always posts
to the next form no matter what.

I would really appreciate if somebody can share their php knowledge
and give me some idea on how this is done in php.

Processing Http Auth From Outside Form?
I'm trying to make it possible to login from a cpanel account from my main site login. I found some code that opens up the socket, but how would I then display or redirect to that page?

Just to reiterate what I'm trying to do, rather than having them type in: lonestarservers.com/cpanel/ and then have the http auth form popup, I want them to be able to type in their user and pass on the index.php page and have it process it for them without that http auth popup. Code:

Form Processing To MYSQL Database
That database and table are set up. The table is called 'reservations' and it has 5 fields to hold the input data. However I keep getting this error:

Parse error: syntax error, unexpected $end in /Applications/xampp/xamppfiles/htdocs/paul/reservation_send.php on line 38

The funny thing is though that there is no lone 38, the script finishes on line 34. Any ideas on this one? Is the coding I have used the best way to write data to a mysql database or does someone have some better code. I am finding this quite frustrating as you would think it would be an easy enough script to do but I don't seem to be having much luck with it. Code:

Form Processing And Content Management Options?
I belong to an organization that needs to create a form by which people who want to present papers at a conference can submit their work for review. If they attach a paper, we would like there to be some kind of virus scan, but if we have them copy and paste the text of it in can it retain the paragraph breaks?

Ideally they want the submitted papers (either from the attachments or the text field on the form) to be accessible online; secondarily they are OK with everything getting forwarded to one person's e-mail.

Eventually they want to have this evolve into a content management system they can use to fully control and manage the paper submission, review and approval process, so if someone out there knows of a solution that could do this and we can start with now at the lower level that would be ideal. Based on my experience with PHP and understanding of how it works, I would like to do this in a PHP based system.

PHP Form Processing Hangs Page Load
I am trying to write a simple PHP script to process a form.. the
function seems to be working fine

// subscriber is the users email in the form
if (( $subscriber ) && ($_SERVER['REQUEST_METHOD'] == 'POST') )

thing is while this processing is taking place the page load hangs...
in IE i see nothing the page background, in Firefox (even worse) I get
only 1/2 the page....

I would like the whole page to load the the processign to take place,
except that my PHP is 1/2 way down the page, inside the form

Enable/disable Html In Form Processing
I've got a form, where it submits some info and adds it to a txt file. The file is then displayed on the front page of my site; however, there is a security problem i'd like to fix dealing with html. How would you go about disabling the use of html in a form?

Form Processing And Sending MIME Attachments
I am trying to track down a feedback form similir to Matt Wright's script that would allow the the sending of File Attachements added to the email by the user. I am looking at using MIME email format, with an auto detection of mime type.

I would like the user to select a file via a browse button, then when the form is processed it attaches the file as a mime attachement. Is there anyone who could help me? or provide me with some urlsof where I could find such a script?

Problems With Form Processing: Array_key_exists() And While (list($k,$v) = Each($arr))
I have an HTML form I'd like to process.

<select name="items[]" multiple>
<option value="doughnuts">Hot Doughnuts</option>
<option value="coffee">Hot Brewed Coffee</option>
<option value="tea">Hot Tea</option>
<option value="cake">Sponge Cake</option>
<option value="chips">Hot Chips</option>
</select>

The problem I have it where I follow the Programming PHP book:

// Should the 's' be the name of the select tag, or the name of
// the submit button?

if (array_key_exists( 's', $_POST ))
{
$selected = "User selected these options:

";

while (list($k, $v) = each($_POST['items']))
{
// Is $v "doughnuts" or "Hot Doughnuts"?
$selected .= "$v
"
}

// ...
}

Newbie ?: Need Sample Form Processing Scripts
I'm on a very short deadline and I need only to process an HTML form
with a few data fields. I need to do three things, all three
triggered by form submission:

1. capture the form field names and their matching values,

2. Write that data to an email and send the email to one or more
addresses as a single message with multiple recipients.

3. Write the same data into a comma AND quote delimited text file.
Save the file in a named server sub-folder. If the file exists,
append each subsequent form submission. If not, create the file and
write the first record.

Perhaps I've missed such scripts in my own searches on the web and on
php.net. Can anyone point me to some web sources for examples of
such PHP scripts just to get the ball rolling?

Multiple Form And Processing With A Process.php File
I got a multiple result form from dhtmlgoodies.com that looked like it was working great, but for some reason it will not send the multiple selected results to the process file. Below is the actual form file and a screen capture of what it is. then below that will be the example basic process file that should grab the arrays and echo them back. Code:

Html Form Processing - Saving Data To A File...
ok.. basically, what I'm doing is setting up a very basic news script base on flatfile storage (mostly to teach myself PHP by doing, which is the best way I've found to learn).

set up the php and the html templates first, and all that works fine. I set up the admin menu, and have a edit config script that works great (edits the config and file locations values via an admin form)

now, am working on a script for the admin to edit those html template files directly from the admin panel.

example template editing form:

PHP Form Processing With URL Parameters And Forwarding To HTML Page
I felt this query would be relevant to HTML
and PHP forums.

I am currently modifying a PHP IMAP script which allows the user to view
their email via a web browser. I have made use of URL parameters which are
passed to the webserver, and processed by the PHP code (better than
javascript). No problems so far :)

When I have reached a point where I no longer need these parameters, I use
PHP header/location forward to reload the HTML form page. If my page was
http://www.mysite.com/ foo.html and I was forwarding** to this specific URL
(without any ***?myval=????&anotherVal params).

When I reload the form**, I keep my URL parameters that were present*** the
previous time the form was processed (they are there in the URL_REFERRER).
Can someone tell me how to lose the parameters, so I just forward to
foo.html. :)

PHP Form Processing With URL Parameters And Forwarding To HTML Page
Apologies for cross-posting, but I felt this query would be relevant to HTML
and PHP forums.

I am currently modifying a PHP IMAP script which allows the user to view
their email via a web browser. I have made use of URL parameters which are
passed to the webserver, and processed by the PHP code (better than
javascript). No problems so far :)

When I have reached a point where I no longer need these parameters, I use
PHP header/location forward to reload the HTML form page. If my page was
http://www.mysite.com/ foo.html and I was forwarding** to this specific URL
(without any ***?myval=????&anotherVal params).

When I reload the form**, I keep my URL parameters that were present*** the
previous time the form was processed (they are there in the URL_REFERRER).
Can someone tell me how to lose the parameters, so I just forward to
foo.html. :)

Processing Form Data And Emailing It In Html Format
I have a form that when submitted it just sends a regular email in plain text with all the information.  However I would like to be able to format the email so it is more organized with a table that contains the submitted information.  However all the tutorials I have gone over does not show how to pull information from the form fields and put them in the html message itself. 

They just show how to send an email in html format without any form data. My current code below is what I have been experimenting with and just sends plain text. Can anyone give me some assistance as to how to have the form data submit in html? Code:

Processing Radio Boxes And Hidden Form Fields At The Same Time
I have a form that needs to be checked. It contains 4 radio boxes a submit button and 4 different hidden fields. How do I get my php script to check if a radio box has been selected and tell the user to check a radio box if he hasn't?

The script I am currently using doesn't work; if the user chacks some thing then it proceeds as usual, but if it is left blank then the program freezes up and nothing is displayed apart from the stuff outside the <?php?> tags.

Dynamic Form Fields/multiple Page Form?
It is for a friends out of print booksite, where visitors can request multiple books to be searched by adding one at a time to a cart (javascript), then once all added they submit to another form where they enter their personal details and all is sent through. The problem is at the moment they cannot change whats in the cart without refreshing the browser window and losing everything.

1) present for asking how many books they want to search for
2) display multiple rows of the same input fields depending on how many books they say they want to have searched for?i.e

title|author|publisher|etc
title|author|publisher|etc
title|author|publisher|etc

3) when these are submitted they could see these above the next part of the form where they enter their details with the option to go back and delete/amend.
4) send all the info to my colleague.

if so has anyone seen a similar script that I could take a look @ to see if I can hack it to suit my needs?

Dynamic Form
I have one user table in my MySQL database and this is linked to a user type table containing 3 types of user. Each type of user will be required to give a different amount of data when registering.

Basically I want to create one registration form for all types of users but only show the form fields that are relevant to the individual user type. The user type will be selected from a pervious page containing a list menu with the 3 user types that is sent via GET to the registration page.

Dynamic Form
I need to create a form that takes a number that the user enters, and
duplicates a question the number of times the user entered. For
instance, if the customer enters 5 on the first page, when they press
next the form generates "How old are you?" 5 times on the page. The
customer will answer all 5 questions then press next. Finally, all the
local variables get dynamically created and written to a database.

I have already taken care of dynamically creating the question five
times. Using a simple WHILE clause, this generates the correct number
of questions. What I am having an issue with at this point, is how to
dynamically create the local variables.For instance, for the question
"How old are you?" I would need a unique variable for each instance;
using something like $Age(n). So that for five times, it would
automatically created variables $Age1 through $Age5. I have carried
over the number to the submit page by creating the variable $Number
and passing it along as hidden button on the form. $Age'$Number'
seemed to work for creating the variable, but $_post["Age'$Number'"]
doesn't work for referencing the global variable. I would need some
way of looping through and dynamically creating the variables.

Dynamic Form
I had to make a form for someone, with 42 questions each question had different form-elements. I was typing and coding for almost 3 hours..!! lets say we would make a form (formmaker.php) to dynamicly create a form with multiple questions: on the formmaker :

-first we have to enter the number of questions (max 100)
-then we have to type the question(s) in (an) input field(s)
-then we would have to select a type of answering field (textbox, checkbox, radiobuttons, file, dropdown etc. )

-it would be nice if we could select to make the question mandatory or not.
-if we choose for checkboxes or radiobuttons , it would be nice to know how much of them (no limits here !) ok..limit it to 30

-when we have selected...for example..15 checkboxes, they have to dynamicly appear on the formmaker.
-for each checkbox or radiobutton, we have to enter a value.
-finaly we have to add an email adres to each question !!! (and a BCC field) (this way, we can use one form and split and send the data to multiple recipients..!!)

-also we have to be able to dissable or enable a question. (if dissabled, it wont show on the created form..

A nice template to show a filled in form is preferable.. It would be nice to store everything in a database tabel. (for each new form a new tabel in the database) question1 id active(yes/no) questiontext fieldtype mandatory(yes/no) radio_or_checkboxvalue1(rocv1) rocv2 rocv3 rocv4 rocv5 etc.... sendto_email bcc_email
I started with the code already...here it is: Code:

Form Processing: Change The "action=" Based On Pull Down Menu
I have an html form for that uses username and password to login to a
specific area of the website. The "area" the user wants to go to is
based on a pull down menu. Becasue the user/password info is in
differnet databases, how can I call different validation scripts based
on this input ?

See below please. Somethinglike this:

form.html:
<form name="loginform" method="post" action="login.php">
<select name="loginform">
<option value="one">Section 1</option>
<option value="two">Section 2</option>
</select>

login.php:

@extract($_POST);
if($_POST[loginform] == "one") {

echo "action = /forums/scc/dispatch.cgi/_admin/AVFLogin"
NAME="LoginForm" >
echo "<input type=hidden name="autologin" value="1">
";
echo "<input type=hidden name="formstyle" value="standard">
";
echo "<input type=hidden name="returnforum" value="_admin">
";
echo "<input type=hidden name="returnmsg"
value="acahomepage">
";

} else {

echo "action = /path to different cgi
";
echo :different values for hidden fields".

}

Dynamic Form Value Modification
I was wondering if and then how to dynamically update form variables without having move between webpages

I am developing a print quoting system for a company and I want the options in list boxes to adapt based on the values of previous selection in the form. However it must happen immediatly without the whole page having to refresh.

For example if a person chooses paper size to be A4 then the next drop down list must only have options available for A4 pages.

I thought I would need to use Javascript for this but I can't find out how to access the server side mysql database so I get the feeling Javascript is the wrong option.

The whole site is programmed in php but php is server side so I don't don't think its possible using php specifically.

Dynamic Form Selects
How do you make dynamic for selects in php? It is in regards to a modify type scripts im writing in php/mysql.

So regular select drop downs look like so:

<select name=genericselect>
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>

right, well if I was pulling info from a database, how would I make is so that the 'selected' value is dynamic and comes from the database? Im sure theres a simple way of doing this.

Getting Info Out Of Dynamic Form
I am using the following code to produce a dynamic form.

$result = mysql_query("SELECT id,weight,date FROM weekly_data WHERE
weight IS NULL AND subscr_id = '$toss' AND date <= now()");
if (!$result) {
die('Invalid query: ' . mysql_error());
}
print"<table width=ï`%' id='catchup' border=&#390;' cellspacing=&#390;'
cellpadding=&#390;'>";
print "<form name='form1' id='form1' method='post'
action='catchupprocess.php'>";
print"<tr>";
print"<td></td>";
print"<td>Weight</td>";
print"<td>Date</td>";
print"<td>Waist</td>";
print"<td>Measure</td>";
print"<td></td>";
print"</tr>";
while ($row = mysql_fetch_array ($result)){
//echo $result;
print"<tr>";
print"<td>";
print"<input name='".$row['id']."' size=&#394;' type='text'
value='".$row['id']."'/>";
print"</td><td>";
print"<input type='text' size=&#396;' name='weight".$row['id']."'
value=''/>";
print"</td><td>";
print"<input type='text' size=&#3910;' value='".$row['date']."'/>";
print"</td><td>";
print"<input type='text' size=&#393;' name='waist".$row['id']."'
value=''/>";
print"</td><td>";
print"<input type='text' size=&#396;' value='$measure'/>";
print"</td><td>";
print"<input type='hidden' size=&#3910;' value=''/>";
print"</td>";
print"</tr>";
}
print"<tr>";
print"<td>&nbsp;</td>";
print"<td><input name='Reset' type='reset' value='Reset'></td>";
print"<td>&nbsp;</td>";
print"<td><input name='submitcatchup' type='submit'
value='Submit'></td>";
print"<td>&nbsp;</td>";
print"</tr>";
print"</form>";
print"</table>";
?>

Form With Dynamic Questions
I've a mysql table where i stored a list of questions. My php script
executes a query which yields a different number of questions every time; i
used the loop function to create an input field for each question in the
form; and dynamically referencing each input name with the question number
i.e. question 1 is called q1, question 2 named q2, and so on.
The data is submitted using POST. I then try to retrieve all the answers by
doing a loop and using something like echo '$_POST['q'.$n.'']' except the
syntax doesnt seem to work.

Dynamic Form Update
I have the following form in which i need to updateitems.
The problem is that i do not know how many elements will be in the form
(generated dynamically)

eg
<input type = "hidden" name ="id1" value="1"><input type ="qty1" value ="1">
<input type = "hidden" name ="id2" value="2"><input type ="qty2" value ="1">
<input type = "hidden" name ="id3" value="3"><input type ="qty3" value ="5">
<input type = "hidden" name ="idn" value="n"><input type ="qtyn" value ="1">

how do i generate an array for a foreach loop to update the values in PHP
so that i can use it to create a Update query
eg
///begin loop
$sql = "UPDATE `table` SET `qty` = `$qtyn` WHERE `id` = `$idn`";
// end loop

Dynamic Form Items
I am trying to create A form that its fields will depend on a
form menu.
for example.
/***********************************************/
<form name="form1" method="post" action="">
<select name="select">
<option value="1">option 1</option>
<option value="2">option 2</option>
<option value="3">option 3</option>
</select>

Text field 1<input type="text" name="textfield">
Text Field 2<input type="text" name="textfield2">
Text Field 3 <input type="text" name="textfield3">
Text Field 4 <input type="text" name="textfield4">

<input type="submit" name="Submit" value="Submit">
</form>
/***********************************************/
When the option 1 is selected only the textfields 1 and 2 to appear,
when option 2 is selected only textfields 1 and 3 to appear and so on... any
combination I would like.

I tried puting the textfields in "if" statments but i don't like it. its too
messy PHP and HTML code.
Any Ideas of how this could be done better ? If someone did something
similar before and has a relative link it would be good as well.

Dynamic Form Pulldown
I'm building a form and need to have the options in a pulldown menu pulled from a mysql database, i understand the basics of sql and have used forms before, i just need to see an example to get me on my way.

Dynamic Form Fields
I want to have it setup so when the user clicks this link a value is sent via get and that value is put through a for loop to generate an additional form field: Code:

Dynamic Form And $_REQUEST
My current project needs to run on both windows and linux. I figured out that windows needs $_REQUEST to read the form elements. This worked well until parsing a dynamically built form with checkboxes named: cb0, cb1, cb2, etc.

I can't figure out how I can use $_REQUEST to read the form elements, when I try $_REQUEST[$i] for example all values of the array elements are 'cc'. No idea where this comes from as cc is never used as a value?

Form Field Dynamic Population And PHP
I have a form that dynamically generates a drop down from a table column called suppliers.

Products supplied by each supplier vary so what I want to try and achieve is that once a supplier has been selected a second drop down on the same page is populated with data from the same table / different column with that suppliers products.
(I am trying to avoid refreshing the page)

I have not supplied any code at this stage as I am not sure whether PHP is capable of doing this by itself or whether javascript would need to be incorporated.

POST Form To Dynamic Page Name
I've got a simple form with an HTML OPTION block. I'd like to POST the
form to a page whose name is based on the OPTION they select.

So for example say the user selected this option, I'd like to POST the
form to a page named "memory.php".

echo "<option value="memory">Memory Utilization</option>";

Reset Dynamic Search Form
i have a search form that has a set of checkboxes and a set of select boxes.  the checkboxes correspond to a select box and activates the select box once checked.  when i submit the search form to display the results on the same page, the elements are echoed back into the form so the user can see what search criteria he/she search for: Code:


Copyright © 2005-08 www.BigResource.com, All rights reserved