Both unrelated but I thought it would not be worth putting them in separate threads:

1. I'm using this to get the date: date('Y-m-d');

What if I want to get the date in 30 days time?

2. One part of my code says:

if (!$title | !$info | !$email | !$biog ) {
die('You did not complete all of the required fields please <a href="">try again</a>');

When the user clicks on 'try again' I would like to send them to page they were just on (ie. addposts.php) however preferably without having to start typing everything up all over again. I know javascript could help with that but how can I tell the browser to go back one...


Cheers