Tag Archive for 'Efficiency'

How to Get the Number of Rows in a MySQL Result Resource Using PHP

MySQL is a flexible database engine, and today I’m going to discuss ways to fetch the number of rows in your MySQL result resource. The first thing I want to mention is MySQL’s built-in function COUNT(field_name). Using this function you can easily get the quantity of results for a certain condition. This would be used [...]

How to Remove Indexed Pages From Google

As a webmaster, you should be constantly checking Google to find out if your pages are being properly indexed. If you do a simple Google query for “site:www.joemajewski.com”, the search results will contain all of the pages in the specified domain that are currently indexed. Thus, the site operator can come in very handy for [...]

Useful Programming Tips: A Quick Way to Echo a Variable in PHP

I’ve recently started a new programming project using PHP and MySQL, and I figured it would be a good idea to share with you this useful trick that I learned. I oftentimes find myself jumping in and out of PHP mode just to display a variable while I’m generating the page’s HTML output. I’m sure [...]

The Importance of Backlinks

What are backlinks, why are they important, and how can I get more? These are just a few of the frequently asked questions about search engine optimization. Unfortunately, most professional webmasters neglect to share their secrets simply because the information is invaluable. Yes, invaluable. Metaphorically speaking, backlinks are Internet gold. Also known as incoming links, [...]

How to Find Pages that Google has Indexed

If you’re a webmaster that is curious to know which of your site’s page have been indexed by Google, simply use the site operator and perform a search query such as: site:www.joemajewski.com The results you see upon executing that Google search will be a list of pages that Google has indexed on your site. Although [...]