-
Declare a new variable in PHP equal to the number 3
php $number = 3;
-
How do you check if a variable has been set in PHP?
php isset($var);
-
How do you access a GET requests URL parameter with PHP?
php $_GET["urlkey"]
-
How do you check if a variable has NOT been set in PHP?
php !isset($var);
-
What is the difference between require() and include() when an error is encountered? -
include()
will raise a warning if it fails,require()
will raise a fatal error -
What is a simple PHP method to make a cross domain data request? -
file_get_contents()
-
Inside a php function, what param needs to be set in order to access a global variable?
php function function_name() { global $the_global_var; }
Last active
September 3, 2016 12:06
-
-
Save tachymetre/b21b5b01caec3eecc7b6 to your computer and use it in GitHub Desktop.
UI-101 (PHP)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cool, keep up