I am trying to return the value of the input: test.php?action=read&id=this with intval($mybb->input['id'] but it returns 0 whenever the value is not numeric!

$_GET['id'] does return it but it's not secure! Any ideas????
That's exactly what intval is supposed to do...
Support PMs will be ignored!

"The integer value of var on success, or 0 on failure"
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Strange case I use this like this: echo $mybb->input['id']; yet it returns 0 or nothing

My bad it does echo the vale sorry!

Forum Jump:

Users browsing this thread: 1 Guest(s)