Reply to Re: auto select actual month in dropdown box

Your name:

Reply:


Posted by YvesDM on 07/20/07 06:58

Michael Fesser wrote:

> Ugly.
I know, but I'm pretty new to all this.
Also, this is just a simple form on my intranet to check payments.
(ok, i admit, no excuse)
> Why not just let PHP print out all the options in a simple loop?
> You could even let it generate the month names automatically if you want
> (assuming proper locale support).
I will definately try this way after the php/mysql course i will be taking
in september :-)

> There has to be a space between attributes. Additionally it's better
> style to not use minimized attributes, but to write them according to
> the stricter XHTML rules. This makes it easier to upgrade in the future.
> So the result should look like
> <option value='7' selected='selected'>Juli</option>

Ok, noted that, tnx.

Kind regards
Yves
--
Running GNU/Linux
yvesdm[AT]telenet[dot]be | GnuPG: 0xD590F022
Jabber: yvesdm[AT]jabber.belnet.be
"If windows is the solution, plz give me the problem back!"

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация