You are here: Re: layout function « PHP Programming Language « IT news, forums, messages
Re: layout function

Posted by Janwillem Borleffs on 11/16/18 11:28

frizzle wrote:
> what do you mean with making the $state argument leading?
> Indeed, it's meant to close the table when $state === 0, but i
> don't quite understand your last answer.
> Thanks for helping by the way!!!!!
>

function whatever($state, $w = 0, $h = 0) {
if ($state == 0) {
// Close and full stop, don't care about
// the values of $w & $h
} else {
// Do something with $w & $h
}
}


JW

 

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

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