In message <fb7633f40607290243t2519b91s4b2a8b857b01be00@xxxxxxxxxxxxxx>, Ed Xphp <edx.php@xxxxxxxxx> writes >Not sure whether this work > >function whatever(parameter="hello") >{ > >} > >On 7/29/06, z.shafiee <z.shafiee@xxxxxxxxx> wrote: >> >> hi >> how can i get the argument to function that in call, u can get value >> to it or do not get? >> mean it has default. >> thanks And remember, the default must be last... function whatever($this, $that, $other="hello") good function whatever($this="hello, $that, $other) bad -- Pete Clark Andalucia in Sunny Southern Spain http://www.hotcosta.com/comm_1.htm PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/