You are here: Re: Variable substitution to replace switch « PHP Programming Language « IT news, forums, messages
Re: Variable substitution to replace switch

Posted by Schraalhans Keukenmeester on 06/01/07 06:31

At Thu, 31 May 2007 08:38:40 -0700, damezumari let h(is|er) monkeys type:

> Thanks!
>
> strtotime()= it is!
>
>
> &$type = &$type + $add;
>
> Can that be done in php?"
>

You missed that bit in my first reply I think...

$$type += $add;

Read about variable variables here:
http://www.php.net/manual/en/language.variables.variable.php

Rgds,
Sh.

--
Schraalhans Keukenmeester - schraalhans@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]

"strcmp('apples','oranges') < 0"

 

Navigation:

[Reply to this 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

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