Quantcast
Channel: eHow - PHP / MySQL Programming How To's
Browsing all 111 articles
Browse latest View live
↧

How to Use Cron PHP

PHP is a scripting language used to develop websites. Using PHP allows the website owner to build sites that function similar to a software program. Sometimes a script written in PHP will need to be...

View Article


How to Import Excel Into MySQL PHP

A Comma Separated Value (CSV) is a text file that organizes multiple columns or fields of data by separating them with a comma. It is common to export spreadsheets, such as those from Excel, in the CSV...

View Article


Image may be NSFW.
Clik here to view.

How to Reference a Connection String in ASP.NET

ASP.NET is a Web-development tool used by computer programmers in collaboration with other coding methods such as SQL, Visual Basic, and C+. Within ASP.NET coding are connection strings. A connection...

View Article

How to Determine Even Numbers From Odd Numbers Using PHP

Determining whether a numerical variable is even or odd can be a simple but vital part of programming languages, including PHP. The use of even and odd numbers can vary between choosing different...

View Article

How to Reverse a MySQL Query in PHP

Sometimes the data source you read your query from will need to be read in a reversed order. Each MySQL query is a simple string of data in PHP and can be reversed using standard PHP functions. Once a...

View Article


Image may be NSFW.
Clik here to view.

How to Decode Binary Strings

ASCII, the American Standard Code for Information Interchange, is a means of encoding text --- including numbers, punctuation symbols and letters --- as a binary string. "01001000 01101001 00100001,"...

View Article

How to Convert a Column to UTF8 in MySQL

In a database, a collation is the character set that a column uses. The UTF8 character set provides additional characters over other sets such as Latin1 or ASCII. If you frequently need characters such...

View Article

How to Refresh the Page After 3 SEC in PHP

When designing a website, you might find a need to force a page to refresh; for instance, if you have a constantly updated stream of information such as a Twitter feed or you want to redirect visitors...

View Article


How to Convert PHP to Boolean

It's important to convert a PHP variable to a boolean type when you only want it to have a true or false value. PHP uses type juggling, so a variable of a different type such as a string or integer can...

View Article


Image may be NSFW.
Clik here to view.

How to Uninstall PHP From XAMPP

XAMPP is a package of tools that gives Web developers an easy way to build and test websites on their own computers. The package comes with Apache, a Web server that can read code meant to execute on a...

View Article

How to Restart MySQL in Plesk

Plesk, short for "Parallels Plesk Panel," is commercial Web-hosting automation software. Plesk has its own set of commands to carry out various tasks on H-Sphere servers under Linux and FreeBSD. As an...

View Article

Image may be NSFW.
Clik here to view.

How to Load an SQL File in MySQL PHP From Query

Websites typically store content displayed on the site in a database. The scripting language PHP and relational database management system MySQL provide a popular combination for webmasters to store...

View Article

How Do I Get Message Box to Scroll With PHP?

Boxes viewable on the World Wide Web can have scroll functionality, but not directly through native PHP coding. Luckily, PHP code interweaves very easily with HTML code, which is the primary coding...

View Article


Image may be NSFW.
Clik here to view.

How to Import From .SQL in MySQL

You can take a backup of a MySQL database using the mysqldump utility, which creates a text file containing a list of SQL instructions needed to reconstruct the original database. This text file can...

View Article

How to Calculate Time Difference With PHP

Sometimes you may need to know the time difference between two dates on your website -- for example, if you have a countdown timer. PHP has several functions that will return dates and times in various...

View Article


Image may be NSFW.
Clik here to view.

How to List a Set of Rows to Choose From With PHP & MySQL

Many websites store content in a MySQL database. PHP makes it possible for Web servers to communicate with MySQL databases in order to access this content and pass it to a Web browser where it will be...

View Article

Image may be NSFW.
Clik here to view.

How to Test a PHP Contact Form in XAMPP

Novice PHP programmers and pros both use XAMPP as a way to test scripts on their own computers before making changes to websites on live servers. XAMPP comes with the "LAMP stack" (Linux, Apache, MySQL...

View Article


How to Convert Fractions in PHP

When you need to perform math in PHP on a user-inputted fraction, it's important to convert the fraction into a decimal. PHP's math functions can't be used on a text string such as "1/2," so you must...

View Article

How to Get a PHP File to Read the Title Header

The PHP programming language allows Web developers to add interactive elements to Web pages. PHP is typically embedded within an HTML document, which provides the static, non-interactive backbone for...

View Article

How to Aggregate Same Values in MySQL

MySQL aggregate functions combine numbers in a data set and calculate the results. You can calculate the sum, average and the number of records returned using aggregate functions in MySQL. You can set...

View Article
Browsing all 111 articles
Browse latest View live