[pmwiki-users] PmForm on request, edit structured data on pages
Oliver Betz
list_ob at gmx.net
Tue Jan 22 01:23:35 CST 2013
Peter Bowers <pbowers at pobox.com> 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)
More information about the pmwiki-users
mailing list