Category Archives: Web development

Php tutorial: Constant and echo-print statement

Constant  and echo-print statement Constants: 1) A constant is a name or an identifier for a simple value. It is defined using the define function and it does not start with $ sign define(“DBNAME”, TECH); 2) A constant value cannot change during the execution of the script. By default, a constant is case-sensitive. By convention, constant identifiers are always uppercase. A constant name starts with … Continue reading Php tutorial: Constant and echo-print statement »

PHP tutorial: Variables in PHP

Variables in PHP 1) As with other programming language, PHP has the provision to define variable and manipulate we have several types of variables in PHP,the most common used one is the string. It is use to store both the text and number all the variable start with $ sign Example $tot= “This is total”; $t1=123; Everything inside the double quotes is assigned to the … Continue reading PHP tutorial: Variables in PHP »

Php tutorial: Writing the first PHP page

When writing first php page , we need to remember these few points 1) PHP files should have .php extension. It get executed on the server by the web server and the resulting text is returned to the browser.The browser never get to know the php code,it only receive the html or text from server.If the person views the source code of the file displayed … Continue reading Php tutorial: Writing the first PHP page »

PHP introduction and uses

PHP introduction and uses History and Introduction It was initially created by Rasmus Lerdorf in 1994. As of today, the current version of PHP is version 5, with version 6 in the making. it is the most popular scripting language on the web.It was initially called Personal Home page What is PHP? PHP stands for PHP Hypertext Preprocessor. PHP is a widely-used, open source scripting … Continue reading PHP introduction and uses »

text tags in HTML

So far you have understood the introductory tags in html and here is the example of html based on that <html> <head> <title>My fisrt Web page</title> </head> <body> Hello techgoeasy </body> </html> Now in this section , we will learning about text tags in HTML Tags   Meaning <h1> and </h1> <h1> tags  tell the browser  to treat the text like heading  1 <h1>  beginning … Continue reading text tags in HTML »

Introduction to basic tags in HTML

I am discussing here the instroduction to basic tags in HTML Tags Meaning <html> and </html> <html> tags  tell the browser  that it is a html page. So it is basic steps of html and every other tags comes after that <html>  beginning of the html </html> end of the html The beginning <html> and end </html> represent a container   and html tag is called … Continue reading Introduction to basic tags in HTML »

What is HTML5

Last updated on July 26th, 2015 at 06:42 amHTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. It is the fifth revision of the HTML standard (created in 1990 and standardized as HTML 4 as of 1997) and, as of December 2012, is a candidate recommendation of the World Wide Web Consortium (W3C). … Continue reading What is HTML5 »

How to Use HTML Inside PHP on the Same Page

Last updated on November 23rd, 2015 at 08:49 amHow to Use HTML Inside PHP on the Same Page We know that it is a web server that processes a PHP file before sending the processed results to the web browser. But the question is how does a server know whether a file is a PHP file or not. Answer is by default servers look for … Continue reading How to Use HTML Inside PHP on the Same Page »

Can I view PHP files locally on my PC?

Last updated on November 23rd, 2015 at 09:00 amWhen I started playing around with PHP I noticed that php files can not be opened by a web browser the way HTML files do. HTML and CSS are rendered by the browser. In other words browsers know all that it takes to load and display an HTML page with or without CSS. So HTML , CSS … Continue reading Can I view PHP files locally on my PC? »