Welcome Guest, Not a member yet? Register   Sign In
direct to specific part of page
#3

(This post was last modified: 08-27-2015, 10:33 AM by jLinux.)

Is that two ternary operators in one?

Why not do:
PHP Code:
$lang = (@$_GET['lang'] == 2); 

Or
PHP Code:
$lang = (isset($$_GET['lang']) && $$_GET['lang'] == 2); 

Just to simplify it


As far as your initial question, I would use an anchor.. (Ctrl + F Anchor)

Then just have them sent to /the/page/#form_name



More info: http://www.echoecho.com/htmllinks08.htm
Reply


Messages In This Thread
direct to specific part of page - by venumurki - 08-26-2015, 03:35 PM
RE: direct to specific part of page - by skoobi - 08-27-2015, 03:44 AM
RE: direct to specific part of page - by jLinux - 08-27-2015, 10:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB