Solved

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

Posted on 2009-03-29
2
233 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
[X]
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
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

734 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