Okay, I've manage to identify where the problem is happening. When I echo out the $taskid variable above the
if (isset($_POST['submit'])) { to check if the form is submitted, the correct ID is...
Sorry if it's a bit vague currently, to provide a better idea about the problem I am posting the code (ommitting unnecessary and unrelated html and php).
Thanks for all the replies, they've been massively helpful. Just to confirm I've tried declaring the variable directly before the update statement, but it doesn't get the value:
I have created a fairly simple script that accompanies a form enabling a user to upload an image to my website. The problem I have is I want to scale the image on upload so that it is...
Thank's for all of your feedback Mindzai, it's really useful. I think I'm sorted now, just in the process of implementing all of the changes that you suggested! :)
First off apologies for not enabling error reporting, I posted before I read your post, next time I will use the quote tags to properly format the code.
I do indeed, there are four images in total and I would like the image to change every Sunday. The first week of each month I would like image 1 to show, the second week, image 2 to show, the third...