Passing Variables From Page To Page

I am passing php parameters from page to page and this syntax works, but using NetBeans I get a yellow light bulb and it shows

Do not access Superglobal $_GET Array Directly

On this specific line

$employeename = $_GET['employee'];

What is the proper way to do accomplish this?

It’s just a recommandation, it wants you to use filter_var on user submitted values

Sponsor our Newsletter | Privacy Policy | Terms of Service