Quote:
|
Originally Posted by nicpon
The file is not in the same folder. thats why i have ../ but when i put in the same folder then its working fine.
|
not the include file, the file you are including it in is in the same folder as the redirected destinaition.
root
-fold 1
--inc 1
--inc2
-fold 2
-file 1
-file 2
if you include inc 1 in file one and inc one says redirect to file file 2 it will work. if you put redirect ../file 2 in inc 1 and still included inc 1 in file 1 it would try to go to the parent folder of the root and then look for the file.
to do what you asked is kinda complex, there are several methods.
on error post all the data back to the enter data page and set the values of every form item based upon that.