Use hyphen in CodeIgniter URL
I normally like to use hyphens than underscores in URL. It looks more easier to read I think. But in CodeIgniter normally we can’t use hyphens in URL as hyphens isn’t allowed in function...
I normally like to use hyphens than underscores in URL. It looks more easier to read I think. But in CodeIgniter normally we can’t use hyphens in URL as hyphens isn’t allowed in function...
Hey Folks, most of the new CodeIgniter developers face a problem to remove index.php from the URL. It’s pretty simple. Just write the following code in notepad and save as .htaccess. Put this file...
This is a tutorial to create a dynamic image gallery using jQuery ajax and php mainly. To reduce burden, I added a normal script to read directory. In gallery.php file it will read the...
This is a php function which converts number into text. This function is developed in respect of Bangladeshi Currency (Bangladeshi Taka), but if you know a little php, you can convert it into your...
This is php program that finds the maximum odd number of sequence in an array. By editing, in case of even number also be found out. Code: [php] <?php $x = array(1,7,4,5,7,5,6,3,4,6,87,53,45,567,45,43,66,56,57,5); $tot =...
Sometimes we feel boring to write mysql insertion query to store data into database from a large form where are too many input fields (such as about 50 fields). We face problem to handle...
Try the following code in terminal: sudo apt-get install apache (For installing Apache web server) sudo apt-get install php (Install the latest version of PHP) sudo apt-get install mysql-server (Install the latest version of...
Never, Ever, Trust Your Users It can never be said enough times, you should never, ever, ever trust your users to send you the data you expect. I have heard many people respond to...
We can’t use header() function in the middle of a page in php. header() function is used for redirection. If the page prints something before this function then we get a message like “header...