how can retrieve data in a result set of mysql using php

1. Using mysql_fetch_row function. This will return an indexed array.
2. Using mysql_fetch_array function. Fetch a result row as an associative array, a numeric array, or both.
3. Using mysql_fetch_object function. This will return the result set as an object.
4. Using mysql_fetch_assoc function. This will Fetch a result row as an associative array

difference between include and include_once in php

difference between include and include_once in php 
Both statements includes and evaluates the specified file during the execution but as the name implies include_once will only include one time.

difference between split() explode() fuction php

 difference between split()  explode() fuction php


Split() is used to split a string using a regular expression, while explode() is used to split a string using another string.