Database connection in php

CRUD USING PHP & MYSQL SELECT INSERT UPDATE DELETE Connection With Mysql Select operation With Mysql mysql_fetch_array :- It's return associative and numeric array format row from table. mysql_fetch_assoc :- It's return only associative array format row from table. mysql_fetch_object :- It's return object format row from table. mysql_fetch_row :- It's return only numeric array format row from table. Insert ...

Read more

Session and Cookie in PHP

Session and cookie creates an environment.Both are used to value of variable from one page to another in a project. Session :- Session creates an environment and data stored on the server side (in browsers). Cookie :- Cookie creates an environment and data stored on the client side (in user computer). Example of Session in PHP Example of Cookie in PHP ...

Read more

How to upload files?

NOTE :- First Check your enctype attribute of form control. Here return $_FILES['upoadfiles'] five feature of file. [upoadfiles] => Array ( [name] => Chrysanthemum.jpg [type] => image/jpeg [tmp_name] => D:\wamp\tmp\php411F.tmp [error] => 0 [size] => 425243 ) PHPCode (uploadfiles.php) HTML Code (uploadfiles.php) ...

Read more

How to process form in php

$_POST,$_GET and $_REQUEST are used to get value from a form control. $_POST:- If method is post of method attribute then use $_POST to get form value. $_GET:- If method is GET of method attribute then use $_GET to get form and url string query value of URL. $_REQUEST:-$_REQUEST is used to get value in both situation (GET,POST and string query) . Note:-$_FILES is also used to get files related value of type ...

Read more

How to start php programming?

PHP is a scripting language. It is used to create a dynamic website. We need some software to run php program. Server software for Windows Like:- WAMP, XAMPP etc. Script Editor like:- Notepad++, Dreamweaver etc Follow steps for Wamp sever Install WAMP After installation open the wamp and click on the wamp icon open some menu (Like above see images) Then go to www directory Then create a project folder insid ...

Read more

© 2014 Powered By