There will come a time when you simply want to run a query just to see the number of rows being returned and not necessarily the data. For instance lets say you are trying to see if a username already exists in the database, if the result returned is greater than zero then you know that username has been taken.
Every programming language has a way to obtain this number and PHP is no different. Here is how you check the number of rows being returned from a MySQL database using PHP.
http://www.ehow.com/how_5167687_retrieve-result-set-using-php.html
Thursday, July 9, 2009
Wednesday, July 8, 2009
How to Write a Switch Statement in PHP
You could write a series of "IF" statements to drill down through a variable value to act up the condition that you were looking to execute. However the swtich statement is much easier and a whole lot cleaner.
Here is how you write a switch statement in PHP.
http://www.ehow.com/how_5161047_write-switch-statement-php.html
Here is how you write a switch statement in PHP.
http://www.ehow.com/how_5161047_write-switch-statement-php.html
Tuesday, July 7, 2009
How to Set the Page Margins in Microsoft Word
Word gives you the ability to set a range of page setups by simply altering the margins on the page. This can be accomplished in just a few steps.
By being able to adjust the margins you can set your document up to print to an infinite number of sizes regardless of the paper size that you have loaded in your printer.
Here is how you set and change the page margins in Microsoft Word.
http://www.ehow.com/how_5157801_set-margins-microsoft-word.html
By being able to adjust the margins you can set your document up to print to an infinite number of sizes regardless of the paper size that you have loaded in your printer.
Here is how you set and change the page margins in Microsoft Word.
http://www.ehow.com/how_5157801_set-margins-microsoft-word.html
Thursday, July 2, 2009
How to Write a While Loop in PHP
A "while" loop is simple loop that lets you check a condition at the beginning of the loop before running through the loop's contents.
Here is how you write a "while" loop in PHP.
http://www.ehow.com/how_5145488_write-loop-php.html
Here is how you write a "while" loop in PHP.
http://www.ehow.com/how_5145488_write-loop-php.html
Tuesday, June 30, 2009
How to Work with Layers in Adobe Flash CS4
Adobe Flash CS4 is a powerful tool that gives you the ability to create robust animations. Its ability to let you layer tasks makes it that much more impressive.
Here is how you use the basic functionality to work with various layers in a single Flash CS4 project.
http://www.ehow.com/how_5136431_work-layers-adobe-flash-cs.html
Sunday, June 28, 2009
Barbeque season is in full swing on the east coast and what would a good barbeque be without a great cheeseburger.
Here is how you can make one that will have your guests running back for more. Then again maybe you don't want some of them to come back, you can give those guests, cereal or something.
http://www.ehow.com/how_5131072_make-ultimate-cheeseburger-barbeque.html
Here is how you can make one that will have your guests running back for more. Then again maybe you don't want some of them to come back, you can give those guests, cereal or something.
http://www.ehow.com/how_5131072_make-ultimate-cheeseburger-barbeque.html
Friday, June 26, 2009
How to Create a Motion Guided Path in Adobe Flash CS4
A motion guided path allows you to create an animation in Flash that follows a specific path that you draw.
Here is how you create a motion guided path in Adobe Flash CS4.
http://www.ehow.com/how_5125878_create-path-adobe-flash-cs.html
Here is how you create a motion guided path in Adobe Flash CS4.
http://www.ehow.com/how_5125878_create-path-adobe-flash-cs.html
Subscribe to:
Posts (Atom)
