Reply to Functions with variable arguements?

Your name:

Reply:


Posted by sTony on 11/11/06 12:17

I've now got several versions of what is virtually the same function. I've
got a createLink($Link); and a createSpecialLink($Link,$Name) and a
createExtraLink($Link,$Extra) and now I've come across a situation where I
need to write yet another almost exactly the same function. I know that php
must support functions with a variable number of parameters, but I have no
idea how to write one. How is this done in php, so I can have just one
function that does different things according to the information supplied.

Thanks in advance,

sTony

[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

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