I'm a big newb and trying to do cool things with php is turning out to be a lot of fun.
I'm getting an unexpected T Variable error and I'm 99% sure it's just a simple syntax error on my behalf.
I'm trying to refer to one of a number of .txt files each stored in a separate dir.
The user chooses via an html drop down list/menu named "gowhere" then hits the Submit button.
I think my error is in the path to the .txt file - I'm using this
Code: Select all
$myFile = "/images/gallery/"$_POST['gowhere']"/test.txt";
Best wishes
Monty