Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building a Web Application with PHP and MariaDB: A Reference Guide
  • Table Of Contents Toc
  • Feedback & Rating feedback
Building a Web Application with PHP and MariaDB: A Reference Guide

Building a Web Application with PHP and MariaDB: A Reference Guide

By : Sai S Sriparasa
4.3 (3)
close
close
Building a Web Application with PHP and MariaDB: A Reference Guide

Building a Web Application with PHP and MariaDB: A Reference Guide

4.3 (3)
By: Sai S Sriparasa

Overview of this book

This is a step-by-step, tutorial guide designed to help readers transition from beginners to more experienced developers using clear explanations. The variety of examples will help readers build, secure, and host real-time web applications. If you are a developer who wants to use PHP and MariaDB to build web applications, this book is ideal for you. Beginners can use this book to start with the basics and learn how to build and host web applications. Seasoned PHP Developers can use this book to get familiar with the new features of PHP 5.4 and 5.5, unit testing, caching, security, and performance optimization.
Table of Contents (12 chapters)
close
close
11
Index

String datatypes

Let us look at the following main datatypes:

Datatype

Explanation

Comments

CHAR(L)

This stores a fixed-length string between 0 and 255 bytes.

Trailing spaces are removed.

VARCHAR(L)

This stores a variable-length string between 0 and 65,535 characters.

65,535 is the effective maximum row size for table.

TEXT

This stores character data and the maximum length of a text column is 65,535 characters.

Length need not be specified.

TINYTEXT

This stores the text column with a maximum length of 255 characters.

 

MEDIUMTEXT

This stores the text column with a maximum length of 16,777,215 characters.

 

LONGTEXT

This stores the text column with a maximum length of 4,294,967,295 characters.

 

BLOB

This stores binary data and the maximum length of a text column is 65,535 bytes.

Binary Large Objects are used to store binary data such as images.

TINYBLOB

The BLOB datatype column with a maximum length of 255 bytes.

 

MEDIUMBLOB

This stores the text column with a maximum length of 16,777,215 bytes.

 

LONGBLOB

This stores the text column with a maximum length of 4,294,967,295 bytes.

 

ENUM

This provides a list of strings from which a value can be chosen.

A list of 65,535 values can be inserted into the ENUM datatype.

SET

This is similar to the ENUM datatype. It provides a list of strings from which zero or more values can be chosen.

Can have a maximum of 64 distinct values.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building a Web Application with PHP and MariaDB: A Reference Guide
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon