Normally, when a function is completed/executed, all of its variables are deleted. However, sometimes we want a local variable NOT to be d...
Read More
Home
Archive for June 2015
Gglobal Keyword in PHP
The global keyword is used to access a global variable from within a function. To do this, use the global keyword before the variables (i...
Read More
Variables in PHP
Variables are "containers" for storing information. Creating (Declaring) PHP Variables In PHP, a variable starts with the $ s...
Read More
PHP DB Connection Code
$servername = "localhost"; $database= "db_form"; $username = "root"; $password = ""; // Create conn...
Read More
Subscribe to:
Posts (Atom)