Posts Tagged ‘calculations’

How do PHP and MySQL work together?

Thursday, July 24th, 2008

PHP and MySQL compliment each other to do with neither can do alone. PHP can collect data, and MySQL can in turn store the information. PHP can create dynamic calculations, and MySQL can provide it with the variables it uses. PHP can create a shopping cart for your web store, but MySQL can then keep the data in a format PHP can use to create receipts on demand, show current order status, or even suggest other related products.

Although PHP and MySQL can each be used independently, when you put them together it opens up countless possibilities for your site. As the internet progresses, it becomes more and more necessary to deliver dynamic content to keep up with the demands of web surfers and their desire to have information instantly delivered to them online. By learning to use PHP and MySQL you can deliver this information to them on demand.

What is PHP?

Thursday, July 24th, 2008

PHP is a scripting language that is often imbedded into HTML to add functions HTML alone can’t do. PHP allows you to collect, process and utilize data to create a desired output. In short, it let’s you interact with your pages.

PHP is able to preform a number of tasks including printing data, making numeric calculations (such as addition or multiplication), making comparisons (which is bigger, are they equal, etc) and making simple boolean choices. From this you can create more complex loops and functions to make your page generate more specialized data.

ABOUT CALCULATOR-GOOGLE

Tuesday, July 15th, 2008

You can use the regular search box to make certain calculations and conversions. Examples: 2+99= will get you 101; 2*2= will get you 4. To run conversions, use the following format: 100 miles = ? km or 100 pounds = ? kilos. Need to convert US dollars into Indian rupees? 1 USD = ? INR.