"Hector M Banda" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> My page is getting the values and the submits itself displaying the
> information but the original selection is gone showing the objects with
> no info.
... so you have a form which submits values to a script and when you return
the form fields are blank?
How do you return to the form? Does the submit script forward you to it
again? If so, you will have to pass the parameters back again and change
the form code to fill the values in, something like
=== form.php ===
<form action="submit.php" method="post">
<br>Name: <input type="text" name="name" value="<?= $name ?>">
<br>Phone: <input type="text" name="phone" value="<?= $phone ?>">
<br><input type="submit">
</form>
=== submit.php ===
<?php
storeValues($name, $phone);
header("Location: form.php?name=$name&phone=$phone");
?>
You will also need to consider some method for preventing duplicate entries.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]