Pages

Basic PHP Crash Course (part 3)

Thursday, March 29, 2012
This post is part 3 of the Basic PHP Crash Course. If you have never red before this Crash Course, you should read part 1 and part 2 first. Before enhancing our site, I want to explain you about the function. What is a function? A function is a block of code that has a name. It is not executed when we load the page. We need to call its...
Read more ...

Basic PHP Crash Course (part 2)

Sunday, March 25, 2012
This post is part 2 of the Basic PHP Crash Course. In part 1, we discuss about the html form, php variable, post method and some operator. In this part, we will discuss about php if() statement and comparison operators by enhancing our pizza shop site. We created two file index.php and process.php in part 1. There is no need to change in our index.php. For our process.php, we should know whether the form is submitted or not...
Read more ...

Basic PHP Crash Course (part 1)

Thursday, March 22, 2012
I want to create a tutorial serie for the PHP beginner. So I have been writing this Crash Course. I think it is more interesting to learn PHP by creating the real website. What do you need to know to learn this PHP Crash Course?You have already know about HTML and CSS. It is more good if you know about JavaScript. Have you ever run php...
Read more ...

How to start with PHP?

Saturday, March 10, 2012
What is PHP?PHP stands for Hypertext Preprocessor and it is a server-side scripting language for web development. Server-side means PHP code execute on the server and the plain HTML result is sent to the browser. Script means it does not need to compile to run. PHP can also be embedded into HTML. PHP can create the very awsome website and...
Read more ...

User friendly date with Codeigniter and MySQL

Tuesday, March 6, 2012
When we deal with the date in Codeigniter and MySQL, there is a little problem that MySQL accepts dates only in the ISO-recommended format YYYY-MM-DD. I want users to be able to enter and show dates in a more familiar format. At here if you use a text box to enter the date, user can do many mistake. So the best way to handle the input of...
Read more ...

Captcha in Codeigniter with session

Friday, March 2, 2012
In this tutorial I will show you how to use the the codeigniter captcha helper. I use the session to save the captcha data instead of database. ConfigurationDownload the CI latest version form codeigniter.com. Extract and rename as ci_captcha. Open application/config/database.php, and change the following database configuration to fit your mysql configuration. $config['hostname'] = “localhost”; $config['username'] = “myusername”; $config['password']...
Read more ...