Missing Variables

A

Anonymous

Guest
Hi, i have an upload file in my news submit page.

If the user decides against adding an attachment, on the next page, it displays warning undefined variable "upload".

How can i stop it displaying this if i dont want to upload anything and submit the page.

it works fine if i add an attachment. but displays and undefined variable error if not.


please help


Cheers very much
 
AaaDee said:
Hi, i have an upload file in my news submit page.

If the user decides against adding an attachment, on the next page, it displays warning undefined variable "upload".

How can i stop it displaying this if i dont want to upload anything and submit the page.

it works fine if i add an attachment. but displays and undefined variable error if not.


please help


Cheers very much

If you lose some variable try to use lobal or search there you loosing variables, maby you set variables at one page and without send this variables at the next page....
 
Back
Top