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

PHP Error: Undefined Offset

In PHP, an indexed array stores key-value pairs of data using non-zero integers as keys. The first array element has a key of zero and subsequent elements are consecutively numbered. An array that uses...

View Article


PHP Fatal Error: Cannot Unset String Offsets

In the Personal Home Page (PHP) programming language, you change a string -- a sequence of characters -- by using offsets to access and modify individual characters. Employing the wrong PHP functions...

View Article


Image may be NSFW.
Clik here to view.

Does Joomla Use a Lot of RAM?

Joomla is an open-source content management system. Originally designed to run on the popular LAMP platform made up of the Linux operating system, Apache Web server, mySQL database server and PHP...

View Article

Twitter API Password Length Limit

Twitter's application programming interface is something that programmers can use to make applications, websites and widgets that interact with Twitter itself. The conversation that happens between...

View Article

Image may be NSFW.
Clik here to view.

Get_Headers Vs. cURL Speed on PHP

PHP Client URL Library -- or cURL -- is a method to retrieve remote files. Get_headers and cURL functions create internet connections to retrieve HTTP status codes and website information. Web data...

View Article


Image may be NSFW.
Clik here to view.

How to Make Comments in a PHP File

PHP, the PHP Hypertext Preprocessor, uses the recursive acronym tradition beloved of the Open Source movement. It also uses several syntax and formatting conventions from the Perl programming language....

View Article

Image may be NSFW.
Clik here to view.

How to Capture a Page Title Using PHP

When you need to get a Web page's title in a PHP script and you search the documentation for a predefined constant containing the title, you won't find one. However, since you know that the title of a...

View Article

How to Join Two Strings in PHP

While most operations involving strings in PHP are performed by functions, there are two string operators. The concatenation operator is denoted with a period. It joins two strings together. The...

View Article


How to Read Query Strings in PHP

When you enter "http://example.com/program.php?first=1&second=2&third=3" into a browser, you run the PHP script "program.php" at the website "example.com" and provide three parameter values:...

View Article


Image may be NSFW.
Clik here to view.

How to Insert a PHP File in All Pages

Reusing the same code segment over and over against across multiple source code files is a poor programming practice that creates code that is difficult to maintain. It is for this reason that PHP...

View Article

Image may be NSFW.
Clik here to view.

How to Insert an Item Combobox in PHP

Combo boxes or drop-down menus are a staple in online forms. Combo boxes often show a list of common choices, such as a list of countries or states, to make it easier and faster for users to fill out a...

View Article

How to Convert an Associative Array to String PHP

When working with associate arrays in PHP it may be helpful to convert the array into a string. You can use string functions so that you can display its contents on your Web page. An associate array is...

View Article

What Is MySQL?

MySQL is an open source, relational database management system. Co-founder Monty Widenius named the software after his daughter, My. It is a client/server system that supports multiple administrative...

View Article


Image may be NSFW.
Clik here to view.

PHP Syntax Error: Unexpected T String

When you program in PHP, or in any language, there will be times when you receive confusing error messages. Often, an error message does not actually indicate the cause of a problem directly, but...

View Article

How to Import SQLite to MySQL

As a little brother to MySQL, SQLite is great for lightweight database needs in most applications. However, as things scale, you may be faced with the need for a more sophisticated database management...

View Article


Image may be NSFW.
Clik here to view.

How to Display the Most Viewed in PHP

A Web developer can use the PHP scripting language to create a dynamic website that provides content to users based on the content's popularity. The developer codes a PHP script to count each time...

View Article

Image may be NSFW.
Clik here to view.

How to Convert Images Into Binary Data Using PHP

Image files stored on Web servers can be converted to binary strings using PHP. Converting an image to binary allows you to easily store it and pass values, without worrying about the encoding being...

View Article


How to Enable InnoDB in MySQL 5 With cPanel

InnoDB is a transactional database storage engine that is designed to work with the popular MySQL database platform. MySQL traditionally made use of the MyISAM storage engine, although this began to...

View Article

How to Convert Newline for MySQL

Converting newline characters in MySQL fields can be helpful when you want to display data in a different program or operating system that uses a different newline character. A newline character...

View Article

How to Convert a String to UTF-8 in PHP

Most Web pages written in English come encoded in ISO-8859-1, a character encoding set suited to displaying English text with no special characters or accent marks. This character set is also known as...

View Article
Browsing all 161 articles
Browse latest View live