How to Format Number Functions in PHP
The PHP programming language has many built-in functions that allow you to shape the way data is displayed to the user. This is very useful given that PHP is traditionally used in websites, and...
View ArticleHow to: PHP String Substitution
When working with PHP, it may be helpful at to substitute parts of a strings, such as replacing 'he" for "she" in a welcome message, depending on who is logged in. HTML and PHP, a scripting language,...
View ArticleHow to Set Up Apache PHP on MySQL on CentOS
The Linux distribution CentOS, which is used for many Web server Linux Web hosts, features package-based installations of Apache, PHP and MySQL. This is useful, as it means there is little...
View ArticleHow to Detect Robots in PHP
In Web terms, robots determine from where a click to your website has come. For example, if a user has come to your site via a Google search, the googlebot will be used. While robots are used primarily...
View ArticleHow to Format a String in PHP
Formatting strings in PHP is helpful when you want to convert data from one format to another, such as integer to float, or to change the string's appearance. You can format strings in PHP with the...
View ArticleHow to Convert a DB to UTF8 in MySQL
A database collation is the character set that the database uses to store information in text fields. You have several dozen different choices for a character set and can even use different collations...
View ArticleHow to Pass Multiple Parameters From HTML Form Using the GET Method
Website designers can integrate HTML and PHP in a number of complementary ways to create dynamic Web pages. HTML provides a way for designers to lay out the visual appearance of a website, and the PHP...
View ArticleHow to Test FFmpeg in PHP
FFmpeg is an open-source utility that can be used for free on non-commercial websites, as long as original credit remains listed in the source code. The product is used to record and convert audio and...
View ArticleCompare MySQL Vs. SQLite
Whether you can't decide which relational database management system, or DBMS, to use or you're just curious about different programming technologies, reviewing the similarities and differences of...
View ArticleHow to Embed MySQL in Visual C
MySQL is a server system that provides access to one or more databases for multiple users. It is common for open-source projects that come with integrated database manipulation features to use MySQL....
View ArticleHow to Use the Dollar Sign in a String in PHP
In PHP, a text string preceded by the dollar sign character ("$") is used to declare a variable. The "$" literal value needs special treatment when used inside text values assigned to variables...
View ArticleHow to Insert a Percent Symbol Beside a PHP String
Strings are chunks of text that you can save to variables and perform operations on when programming in languages such as PHP. In a PHP script, you can use a variable as a name that holds the text....
View ArticleHow to Do ENUM in PhpMyAdmin
In MySQL, an enumerated type, or enum for short, is a string with a predefined set of values. Any fields you define using enum can only be assigned a value from that predefined set. For instance, the...
View ArticleHow to Create a Table in GoDaddy With MySQL
GoDaddy has a custom interface available for each customer with an account that has a MySQL database installed. You use the interface to create a table in your MySQL database, which stores all your...
View ArticleHow to Disable Triggers in MySQL
MySQL triggers are a list of SQL statements that are contained in the database catalog. Triggers can be activated by database activities such as "Update," "Delete" or "Insert." The trigger can be...
View ArticleHow to Use MySQLAdmin Flush-Hosts Coded in PHP
PHP is a server-side scripting computer programming language that Rasmus Lerdorf developed in 1995. You typically use this language with the HTML markup language and the back-end database MySQL to...
View ArticleHow to Unset Class in PHP
Calling a class allows a PHP Web developer to access methods and properties from a set of code (object) that has been pre-written. This prevents the developer from having to re-invent the wheel and...
View ArticleHow to Insert Multiple Triggers in MySQL
Triggers are one of the new features in MySQL, the relational database management system. Triggers are related to certain tables and are activated by a particular event. You can use triggers to check...
View ArticleHow to Simple Count Prime Numbers in PHP
The PHP programming language serves an important role as a scripting language for many Web applications. Programmers can use PHP to calculate user input, write page information to Web browsers in HTML...
View ArticleHow to Select the Value From a List Box to Another List Box in PHP
PHP is a server side scripting language that comes with built-in features that help make the creation of dynamic user interfaces straightforward and robust. For example, PHP offers two built-in super...
View Article