Your form should be defined like this:
<form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>"
method="post">
The post method is what keeps the variables off the URL string, the
action is the page to submit the data to.
Chris
Jim MacDiarmid wrote:
I have 2 form fields one is a checkbox and the other is a hidden field. The
checkbox is called "Display_" and gets incremented as the table rows are
built like so.
'Display_'.$rec_count + 1
The hidden field is an array like this: Field[]
The form method is $_SERVER['PHP_SELF']
For some reason, these form variables are being passed on the query line.
Is there any way this can be prevented?
Thanks in advance,
Jim
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php