true3000
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by true3000
-
-
would this work:
<?php echo date('m/d/Y h:i:s', strtotime('next tuesday')); ?>
and when tuesday comes and goes, will it reset to show the next Tuesday?
-
Alright, I am needing a little help. I need a php date to display ie. 'Saturday May 16th, 2009' that resets every Sunday at 12:01am to the next Saturday. Is there any way this can be done...and how?
Need help...please!
in PHP Coding Help
Posted
Alright, so here's the deal...and yes, I have searched high and low and haven't been able to find the solution I am looking for.
I want to create a subdomain such as texas.mydomain.com and when someone visits that site they get redirected to my main domain BUT with a welcome message such as "Hi Texans, welcome to mydomain.com"...
Now when someone enters just mydomain.com it would read as something generic like..."Hi there"...
Anybody know what the appropriate code would be or at least point me in the right direction?
EDIT:
I was able to come up with the following but it causes the site to return blank...
the subdomain is redirected using: