Quantcast
Channel: Bugtreat Blog » Mysql
Browsing latest articles
Browse All 12 View Live

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 Article



Difference 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 Article

How 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 Article

How 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 Article

Clean 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 Article


How 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
Browsing latest articles
Browse All 12 View Live




Latest Images