Learn HTML CSS PHP and MySQL Python Flask Physics Chemistry Educational Blog and more...

TEA Educational Blog

Good Question



Tell me a secret Daddy Universe
Stop hiding it from us

You make us much more curious
Sometimes really furious

The longer we wait
The more we ponder:

How did you fashion this mint
This fragrance and finest silk

With which you wrap the fingers
Of all women?

They turn men wild and out of order
Making them drunk without liquor

No matter how young, strong or spent
They turn their necks

Break their backs
Fracture their hips

And return home broke
Just for a touch of feminine fingers?

The Universe smiles, softly saying
“Son, I'm a woman.”


By Professor Moyo Okediji... [Continue Reading]


Good Question
I was called Iron Lady for being a successful woman – Prof Osofisan (Professor of Computer science)
New Black studies curriculum to launch in NYC schools this fall
Education is not a scam; it is immensely rewarding
What you tell yourself always persists in your life
More Blog
Lessons

HOW TO READ A RESISTOR (Part 2) : colour code

Course: Physics
Number of topics: 17
Category: Science

This physics video tutorial explains the types of resistors (linear and non-linear) and how to determine the resistance of a resistor in an electric circuit, by using the colour code or resistor code chart (as in the case of SMDs).
This review tutorial also contains a few examples and practice problems for you to learn the concept.... [Continue Reading]


Read and write data to CSV file

Course: Python Programming
Number of topics: 11
Category: Programming

As you program you will later realise that you may need to store or access data for example a product or student information for later use. This is when it becomes necessary to have a separate file to hold such information.

Again Python is populate use for data analysis and many data specialist and programmers now use it to handle a variety of data.

CSV format
CSV (Comma-Separated Values) is one of the most popular formats for storing and exchanging tabular data.

The structure of a CSV file just as its name is just a plain text file that us... [Continue Reading]


PHP Variables and Comments

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

PHP Variables
PHP are containers or name for holding information. in PHP a variable name must start with a dollar sign $

Example 1
$name="Ben Onuorah";


Variable Naming Rule
1. Variable name must start with a letter or the underscore but NOT a number.
2. Variable name can only contain alpha-numeric characters and underscores (A to z, 0 to 9, and _ )
3. Variable names are case-sensitive in PHP, for example $msg is not the same as $MSG

PHP is loosely typed language, that is, it determin... [Continue Reading]


Creating MySQL Database using phpMyAdmin

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

In any database-driven web application or systems it is always a good approach to start from the ground up; therefore we will start from our backend which is to design and create the database, please note that I said design before create.

This is because the design of a database is a serious business that involve creating a blue-print of what the database would look like on a piece of paper or any degital alternative tool before proceeding with the creation of the computer, on a small scale project like this we may not have much problem because the database may probably have just... [Continue Reading]


THE CONCEPT AND NATURE OF PHILOSOPHY OF SCIENCE

Course: GST 102
Number of topics: 17
Category: Business

THE CONCEPT AND NATURE OF PHILOSOPHY OF SCIENCE... [Continue Reading]


Authentication: Registration

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

Here is the code for the registration form

auth_register.php

<html>
<head>
<title>Authentication</title>
</head>
<body>
<b>REGISTER</b>

<a href="auth_login.php">Login</a>
<form method="post" action="auth_register_confirm.php">
USER ID: <input name="user_name" type="text" required /><br/>
PASSWORD: <input name="password" type="password" required /><br/>
Re-enter password: <input name="password2" type="password" required /><br/>
Name: <input name="name" type="text" required /><br/>
Email Address: <input name="email" type="email"  /><br/>
<input type="submit" value=...
[Continue Reading]


Functions in Python

Course: Python Programming
Number of topics: 11
Category: Programming

Functions are exactly what the sound like, they allow you to perform a particular task or function. In programming you call a function when you need to perform a task.

Since the beginning of this Python course we have been using functions that comes with the Python language i.e Built-in functions.

One of the great things about Python language is its extensive library of built-in functions that can make programming tasks easier and more efficient.

Examples of some Python built-in function

print()
list()
range()
int()
str()
input()
m...
[Continue Reading]


Add Image to web page

Course: Introduction to HTML and Web Technology
Number of topics: 8
Category: Programming

Images or pictures no doubt bring live and beauty to web experience, so we will be learning how to add pictures or images into our web page.

Images in your web page
To add an image to your web page you use the image source tag and specify the location and name of the image file

Example 1
<img src="images/tea_logo.jpg">


In this example the image "logo.jpg" is inside a folder "images" where our web page is. It is always better to keep all images in separate folder so that it does not get clumsy with ... [Continue Reading]


See all courses



Making the Most of Life: A Journey to Purpose
Category: Business
Number of topics: 7
Posted by: David Mba

General African Studies (GST 201)
Category: Business
Number of topics: 1
Posted by: David Mba

GST 102
Category: Business
Number of topics: 17
Posted by: David Mba

Use of English
Category: Arts
Number of topics: 0
Posted by: Samson Dawodu Abiodun

African Artists and Drawing
Category: Arts
Number of topics: 8
Posted by: Benjamin Onuorah

Flask: Python Web Development
Category: Programming
Number of topics: 16
Posted by: Benjamin Onuorah

Chemistry with Dr. Anita
Category: Science
Number of topics: 10
Posted by: Sir John Jollynery

Physics
Category: Science
Number of topics: 17
Posted by: Sir John Jollynery

Programming (Pdf Materials)
Category: Programming
Number of topics: 2
Posted by: Benjamin Onuorah

Programming (Video Materials)
Category: Programming
Number of topics: 1
Posted by: Benjamin Onuorah

Web development using PHP and MySQL
Category: Programming
Number of topics: 27
Posted by: Benjamin Onuorah

Python Programming
Category: Programming
Number of topics: 11
Posted by: Benjamin Onuorah

Styling (Beautify) Website
Category: Programming
Number of topics: 2
Posted by: Benjamin Onuorah

Introduction to HTML and Web Technology
Category: Programming
Number of topics: 8
Posted by: Benjamin Onuorah

Supported by

Flag Counter