Jean-Christian Imbeault wrote:
> Gary wrote:
>
>>
>> They are not really errors they are reporting that the form fields are
>> empty until the form is submitted.
>> Notice: Undefined index:
>
>
> That means your code is not doing any checking of the incoming data. You
> should always check th
Gary wrote:
>
> They are not really errors they are reporting that the form fields are
> empty until the form is submitted.
> Notice: Undefined index:
That means your code is not doing any checking of the incoming data. You
should always check that the data coming is what you expect it to be.
Just reduce the error_reporting() level while you display the form,
then. Set it so it does not show NOTICES.
---John Holmes...
> -Original Message-
> From: Gary [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 29, 2002 2:29 PM
> To: [EMAIL PROTECTED]
> Subject:
John W. Holmes wrote:
>>I have a form, the action is PHP_SELF. When the form is submitted it
>>prints the info lower on the page. The problem, the errors for the
>
> empty
>
>>fields are printed until the form is submitted. What would be the best
>>way of suppressing these error?
>
>
> The bes
> I have a form, the action is PHP_SELF. When the form is submitted it
> prints the info lower on the page. The problem, the errors for the
empty
> fields are printed until the form is submitted. What would be the best
> way of suppressing these error?
The best way to suppress your errors is to f
5 matches
Mail list logo