Full-text search in MySQL
Normally, most of us use “SELECT * FROM table WHERE field1 LIKE ‘%$keyword%’” OR field2 LIKE ‘%$keyword%‘ ..etc” to search our table and get results. This is slow and inefficient approach, as it does...
View ArticleDifference between MySql drop table, truncate table, delete from table commands
DROP command is used for deleting the table and its structure from the data base.Use this command when you don’t need that table any more. Other Spec: 1. Removes a table from the database.Table...
View ArticleHow much memory do PHP variables use?
There are cases when it might be quite important to know how much memory uses each variable in PHP script. The function memory_get_usage returns the amount of memory, in bytes, that’s currently being...
View ArticleHow To Change Your Joomla Administrator Password Via PHPMyAdmin
Navigate to phpMyAdmin and select the database for the Joomla! site in the left-hand drop-down list box. This will show the database tables on the left side of the screen. Find and click on the table...
View ArticleClean Variables in PHP
It’s always important to clean/sanitize variables that are submitted via web forms to prevent against all kinds of different malicious threat. Here is a complete function to clean your variables before...
View ArticleHow to prevent gaps/holes in a MySQL table AUTO_INCREMENT Primary Key field
Generally during the MySQL database development you create tables with a Primary Key, a very simple way to create a primary key is make it Auto-increment and unsigned integer with Not Null property...
View Article
More Pages to Explore .....