Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How Can I Disply The Year Plus Years In A Select Box?

Posted on 2009-03-29
2
224 Views
Last Modified: 2013-11-19
I need to display the current year + 5 more.

I don't have much but here is what I have...

Thank you.
$EXPYear=date(Y);
 
for ($i=$i; $i <= 5; $i++){
 
echo <option>This Year And Five More</option>;
 
}

Open in new window

0
Comment
Question by:phpretard
  • 2
2 Comments
 
LVL 3

Expert Comment

by:Ruurtjan
ID: 24012638
0
 
LVL 3

Accepted Solution

by:
Ruurtjan earned 500 total points
ID: 24039728
Hi,

Did this solve your problem or do you need more help?

Regards,
Ruurtjan
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question