|
-
Nov 26th, 2006, 08:11 PM
#1
Thread Starter
Hyperactive Member
2 Very quick questions
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|