4 Answers
+ 4
its correct
8th Aug 2017, 5:06 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 3
It's correct, but take care if you access the test_action page directly, you'll get an error. To avoid it you should verify the existence of this index before access it like : if( isset($_GET['name']) ) { $a = $_GET['name']; } else { $a = 'Default value'; } This will improve the robustess of your code.
8th Aug 2017, 5:23 PM
Hepson
Hepson - avatar
+ 2
but i ve heard that both single and double quotes work
8th Aug 2017, 4:51 PM
Ronu John
0
thank you
8th Aug 2017, 4:50 PM
Ronu John