Peter Bowers <[email protected]> wrote:

>Never knock a C programmer!  They're keeping the world rotating on its
>axis! :-)

as embedded programmer, I keep things rotating literally <g>.

>It's a bit boring and C-like, but why not just use a simple ternary
>operator?
>
>isset($_GET['useform']) ? $_GET['useform'] : @$_POST['useform'];

I don't know why I didn't use the obvious, thanks for the reminder.

Oliver
-- 
Oliver Betz, Muenchen (oliverbetz.de)


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to