[pmwiki-users] PmForm on request, edit structured data on pages
pbowers at pobox.com
Mon Jan 21 14:53:19 CST 2013
On Mon, Jan 21, 2013 at 8:37 PM, Oliver Betz <list_ob at gmx.net> wrote:
> >>>>>> BTW: Is there a simple way to get something like
> >>>>>> array_merge($_GET, $_POST)["useform"];
> >>>>>> in PHP older than 5.4?
> >>>>>> Excuse my ignorance, I'm a "plain old C" programmer.
Never knock a C programmer! They're keeping the world rotating on its
It's a bit boring and C-like, but why not just use a simple ternary
isset($_GET['useform']) ? $_GET['useform'] : @$_POST['useform'];
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users