• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

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

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
phpretard
Asked:
phpretard
  • 2
1 Solution
 
RuurtjanCommented:
Hi,

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

Regards,
Ruurtjan
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now