Using the below script, you can auto refresh the output of your PHP script in a browser. Place the code on the first line of…
Leave a CommentTutorials / Programming tips Posts
This post is about data retrieving from MySQL database table using PHP. The bellow PHP script will give you Unordered list format output. Before doing…
Leave a CommentThis post is about removing empty elements from the given array using PHP. Here is example $test_array = array(‘foo’, ‘bar’, ”, ‘sleep’, ”,null,’arjun’); $test_array =…
Leave a CommentThe rewrite module is not enabled by default in Apache’s configuration settings. although you can enable it manually by doing very few simple steps: 1.…
Leave a CommentI always use this Base Controller for My CodeIgniter App Development, It makes my app portable and flexible.We can define all Global settings in Base…
6 CommentsGET data is simply disallowed by CodeIgniter since the system utilizes URI segments rather than traditional URL query strings (unless you have the query string…
Leave a CommentThis script will allow you to upload files from your browser to your hosting, using PHP. Uploading Files to a server can be broken down…
Leave a CommentOpen a notepad, and put the following code: This should be saved as test.php in the document root of your server. If you then see…
Leave a CommentHere is my Array with some stuff $myArray = array(‘key1’ => ‘value1’, ‘key2’ => ‘value2’, ‘key3’ => ‘value3’); What if you need to count the…
Leave a CommentToday, we are Going to Use Codeigniter URI Segments to rule all Methods within the controller, means one Controller will load views based on the…
Leave a CommentJust for Quick copy past
Leave a CommentBelow snippets will set the opacity of the elements and its children. selector { // IE 8 -ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=50)”; // IE 5-7 filter: alpha(opacity=50); //…
Leave a CommentWhen the size of web page increases, it’s better to have a button to scroll to the top of the page with a single click.…
Leave a CommentSource from : http://php.net/manual/en/function.get-browser.php
Leave a CommentFunction 1 : array_rand Get a random variable in an array. $sites = array (“google.com”,”Bing”, “yahoo.com”, “php.net”, “apple.com”); $k = array_rand($sites); echo $sites[$k]; Function 2:…
Leave a Comment