Monday, April 28, 2014
PHP Tutorial Seven : Indentation of PHP Code
Last tutorial we know "How to Create index.php File and Write PHP Code ". This tutorial we will know what is indentation and how to use it in php code. We see this code :
Sunday, April 27, 2014
PHP Tutorial Six : Create index.php File and Write PHP Code
Latest tutorial we know how to write php code. Now we will know create index.php file and write some php code.
First we open our text editor software. Take a new document. Write this code :
Saturday, April 26, 2014
PHP Tutorial Five : Write PHP Code
Last tutorial we know "How to create a php file". Now we will know how to write php code. Now we open our firstfile.php in text editor. Generally in html file we write this code :
Friday, April 25, 2014
PHP Tutorial Four :Create a First PHP File
Last tutorial we know how to install xampp in our computer. Now we create a php file and write php code. First we will go to our browser. Write in address bar "localhost" and press enter. We see xampp information in our browser.
Friday, April 11, 2014
PHP Tutorial Two : Installing XAMPP Part-1
Previous Tutorial : Php Tutorial One : Introduction
Basically php work with server. But we work in local server. In generally use two server. They are apache and WAMP server. We used XAMPP software. Because this software support us apache server, mysql, php etc. So we install the XAMPP in our computer.
Friday, April 4, 2014
Php Tutorial One : Introduction
PHP is a server side scripting language. PHP means Hypertext preprocessor. HTML is hypertext
Sunday, March 9, 2014
Tute 31 : Show publishing Date and time in article : Part Two
Open the index.php file in notepad++. Some edit the query line. We include `published time` after `category.` So our new line is :
Saturday, March 8, 2014
Tute 30 : Show publishing Date and time in article : Part One
Now we will show publishing date and time in our article. So we work two stapes. First stapes work in database and 2nd stapes work about php code.
Friday, March 7, 2014
Tute 29 : Show Date and Time in Home Page : Part Two
Now we set the time in
our website. So open the index.php file in notepad++. We write some code
after site name. We create a div and include the datetime.inc.php file.
So write this code after " <h1>Tute School</h1> " line:
So write this code after " <h1>Tute School</h1> " line:
Thursday, March 6, 2014
Tute 28 : Show Date and Time in Home Page : Part One
This tutorial we will show date and time in our website. We work only php script. We create a new file and include the file in index.php file.
So first we take a new document in notepad++ file. Write this code :
So first we take a new document in notepad++ file. Write this code :
Wednesday, March 5, 2014
Tute 27 : Latest Data show in category page : Part Two
Now we write some php and html code into "latest-news" div. We write this code after <h2></h2> :
Tuesday, March 4, 2014
Tute 26 : Latest Data show in category page : Part One
Last tutorial we show latest data in home page in our side. But this is show only home page. Now we show this latest data in category page. We will show this dynamically.
Monday, March 3, 2014
Tute 25 : Latest Data Show in Home Page : Part Two
Now we go to home page in google chrome. Then refresh the page. We see in right side. A new line show with black background. We will show here our latest news.
Sunday, March 2, 2014
Tute 24 : Latest Data show in home page : Part One
Many website show latest date. News site show latest news in list. Now we know how to show latest data in our website. This is same to show news. But here we show only headline. Now we start work.
First we go to our index.php file in notepad++.
First we go to our index.php file in notepad++.
Saturday, March 1, 2014
Tute 23 : Link menu to category page
Open the index.php file in notepad++ software. We will some edit in menu's php code. So go to the menus php code. We write replace this code in <li></li> code.
Thursday, February 27, 2014
Tute 22 : Show category article in category page
Open the category.php file. We write some php code top of the page. We make quarry for category article in "tute" table.
Monday, February 24, 2014
Tute 21 : Make category page
Now we take a new document into the notepad++ soft. We write same code who show in index.php file. Or copy the all code and past here. Then save the file in our "tute" folder. We write this file name is "category.php".
Sunday, February 23, 2014
Tute 20 : Make Dynamic Menu - Part Two
Now we make dynamic menu in our home page. So go to the index.php
file in notepad++. We make quarry for category table. So write this code
in top of page before "$query_run=mysql_query($query);" line :
Saturday, February 22, 2014
Tute 19 : Make Dynamic Menu - Part One
First we create a new table for category in "tutedb" database. So go to "phpmyadmin" tab in Google Chrome. When we click the "tutedb" database we will see two blank text field in right side name and Number of columns.
Friday, February 21, 2014
Tute 18 : Create Dynamic Right Panel in Website : Part Two
Last tutorial we know "Create Dynamic Right Panel in Website". Now we edit This Right Panel. We see in right panel All article show here. But we will show here only one category's article or specific
article.
article.
Subscribe to:
Posts
(
Atom
)