Skip to content

Instantly share code, notes, and snippets.

View Emmathem's full-sized avatar

Falua Temitope Oyewole Emmathem

View GitHub Profile
@Emmathem
Emmathem / banks.json
Created December 2, 2023 17:32 — forked from LordGhostX/banks.json
List of Nigerian Banks and Codes
{
"9 payment service Bank": "120001",
"AB MICROFINANCE BANK": "090270",
"ABBEY MORTGAGE BANK": "070010",
"ABOVE ONLY MICROFINANCE BANK": "090260",
"ABU MICROFINANCE BANK": "090197",
"ACCESS BANK": "000014",
"ACCESSMONEY": "100013",
"ACCION MFB": "090134",
"ADDOSSER MFBB": "090160",
@Emmathem
Emmathem / nigeria-states.json
Created June 6, 2022 00:10 — forked from mofesolapaul/nigeria-states.json
List of all Nigerian states, alphabetically arranged in JSON array
[
"Abia",
"Adamawa",
"Akwa Ibom",
"Anambra",
"Bauchi",
"Bayelsa",
"Benue",
"Borno",
"Cross River",
@Emmathem
Emmathem / lga-state.json
Created August 3, 2018 08:23
Local Governments in each States in json
[
{
"Abia": [
"Aba North",
"Aba South",
"Arochukwu",
"Bende",
"Ikwuano",
"Isiala Ngwa North",
"Isiala Ngwa South",
@Emmathem
Emmathem / q4
Created December 1, 2017 17:06
PHP-Acceleration-Day 1
INCLUDE AND INCLUDE_ONCE; REQUIRE AND REQUIRE_ONCE
Both are used to include a file on a page but the execution procedure or process differs, INCLUDE and INCLUDE_ONCE does not stop the
execution of a particular but REQUIRE and REQUIRE_ONCE does, and it mostly used to initialize a DB connection. When REQUIRE or REQUIRE_ONCE
can not find either the path, or the name of the file to be required, it throws a FATAL ERROR causing the program to stop executing
@Emmathem
Emmathem / q3
Created December 1, 2017 17:04
DIFFERENCE BETWEEN SESSION AND COOKIE
Session stores a value of the activeness of user on the server as long as the server is on
While Cookie stores the user's value on the user browser a specific period of time.
@Emmathem
Emmathem / q2
Created December 1, 2017 17:02
DIFFERENCE BETWEEN ECHO AND PRINT
Both ECHO and PRINT in PHP are used to output result
ECHO does not return a value, and can take many parameters(depending on PHP -v);
PRINT return value of 1 that why it's suitable to use while outputing an expression, it can only accept one argument
@Emmathem
Emmathem / q1.php
Created December 1, 2017 16:55
PHP-Acceleation Team
What is PEAR in PHP?
PHP Extension and Application Repository is a framework and application repo that contain reusuable PHP components. Is
a component that contain all sort of PHP library and code snippet
@Emmathem
Emmathem / taska.php
Created December 1, 2017 16:27
task_a-no-coding
What is PEAR in PHP?
PHP Extension and Application Repository is a framework and application repo that contain reusuable PHP components. Is
a component that contain all sort of PHP library and code snippet
DIFFERENCE BETWEEN ECHO AND PRINT
Both ECHO and PRINT in PHP are used to output result
ECHO does not return a value, and can take many parameters(depending on PHP -v);
PRINT return value of 1 that why it's suitable to use while outputing an expression, it can only accept one argument
DIFFERENCE BETWEEN SESSION AND COOKIE
@Emmathem
Emmathem / list-of-africa-countries.html
Created August 31, 2017 14:01
Lists of Africa Country in HTML. dropdown, it often needed in form
<select class="form-control" name="country" required>
<option value="0" hidden="hidden"> --Country-- </option>
<option value="Algeria">Algeria</option>
<option value="Angola">Angola</option>
<option value="Benin">Benin</option>
<option value="Botswana">Botswana</option>
<option value="Burkina Faso">Burkina Faso</option>
<option value="Burundi">Burundi</option>
<option value="Cameroon">Cameroon</option>
<option value="Cape-Verde">Cape Verde</option>