Hey all its me again :eek4:
I have a form that submits data to a file however this form is located in an admin folder, and the file is stored in a data folder. I would like to write to the file in the data folder from the form in the admin folder. Is this possible? (I can already write to a file just not the one i need)
Folder hierrachy:
www-->
Sry for botherin everyone again, just want to learn this asap
Regards
NightFox
Edit:
Nevermind guys i found out how to do it
'../data/news.txt'
I have a form that submits data to a file however this form is located in an admin folder, and the file is stored in a data folder. I would like to write to the file in the data folder from the form in the admin folder. Is this possible? (I can already write to a file just not the one i need)
Folder hierrachy:
www-->
admin --> 'Form'
images
data --> 'news.txt'
Sry for botherin everyone again, just want to learn this asap
Regards
NightFox
Edit:
Nevermind guys i found out how to do it
'../data/news.txt'
Last edited: