In this article, we’ll discuss the ternary operator in PHP. Along with the syntax, we’ll go through a couple of real-world examples to understand how it works. What Is the Ternary Operator? The ternary operator (? and :) is a conditional operator which allows you to execute a condition, and based on the result of… Continue reading Crash Course in the PHP Ternary Operator With Examples
Tag: note
Best PHP Invoicing and Billing Scripts
Do you want to automate your billing and invoicing process and receive payment faster? PHP invoicing scripts will streamline your billing and invoicing process and make it more efficient. These scripts come with customizable templates that help you build professional invoices. They can also automatically attach and send PDF invoices to your customers via email… Continue reading Best PHP Invoicing and Billing Scripts
How to Work With Regular Expressions in PHP
In this article, we’ll go through the PHP functions that allow you to use regular expressions to perform search and replace operations on strings. What Is a Regular Expression? Regular expressions—also called “regex”—are search patterns for text. These patterns can be processed by a regex engine to find substrings, validate that a string matches a… Continue reading How to Work With Regular Expressions in PHP
Get Inspired by these Cool and Clever Microsite Samples
March 22, 2021 by Sangalang Kristine It is great to have a list of microsite examples to show clients how they function, how they’re designed, and what they could look like. The demand for microsites are increasing over the years as this type of website is getting quite popular in the marketing world. If you… Continue reading Get Inspired by these Cool and Clever Microsite Samples
Example of How to Add Google reCAPTCHA v3 to a PHP Form
In this article, I’m going show you how to add Google reCAPTCHA v3 to a form on your PHP website. The latest reCAPTCHA is different than the previous versions—it doesn’t require user interaction at all. In this post, we’ll see how it works, and we’ll build a real-world example for demonstration purposes. As a website… Continue reading Example of How to Add Google reCAPTCHA v3 to a PHP Form
Functions in PHP: Return Values and Parameters
Functions are an important part of programming languages. They help us avoid code duplication by allowing us to run the same set of instructions over and over again on different data. In this tutorial, we will talk about functions in PHP. We will cover all the basic concepts of functions in PHP, and you’ll learn… Continue reading Functions in PHP: Return Values and Parameters
How to Work With Cookies in PHP
You might have heard about cookies, but what exactly are they and what can we actually do with them? In this tutorial, we will focus on the basics of cookies, and learn about their functionality in various web applications and site environments. We will also learn how to work with cookies in PHP. Cookies vs… Continue reading How to Work With Cookies in PHP
How to Create a Thumbnail Image in PHP
Today, we’ll discuss how you could create thumbnail images in PHP with the help of the GD library. When you’re working on projects that are related to media, more often than not you will need to create thumbnails from the original images. Also, if you’ve enabled image uploads on your website, it’s essential that you… Continue reading How to Create a Thumbnail Image in PHP
3 Essential Design Trends, December 2020
The end of the year tends to be busy for a variety of reasons and it can limit some of the freshness we see in designs during much of the year. Regardless, there are a few trending design elements. What we are seeing right now is rooted in deep simplicity with a focus on the… Continue reading 3 Essential Design Trends, December 2020
The Latest Research for Web Designers, December 2020
2020 has been an interesting year, to say the least. And although I’m sure many of you can’t wait until the calendar flips ahead to 2021, it doesn’t look as though we’re going to be able to say goodbye to 2020 so easily. Many of the changes we’ve had to make this year are now… Continue reading The Latest Research for Web Designers, December 2020
5+ Eye-Catching Vector Resources for Graphic Designers
1 Share In this article, we dive deep into the exciting world of vector resources for graphic designers. All of the recommendations are high-quality and affordable. They also come with a fancy dual license, so every download is available simultaneously for personal and commercial use. Meaning you can create a greetings card to gift to… Continue reading 5+ Eye-Catching Vector Resources for Graphic Designers
Exciting New Tools for Designers, November 2020
In the spirit of fall feasts, this month’s collection of tools and resources is a smorgasbord of sorts. You’ll find everything from web tools to icon libraries to animation tools to great free fonts. Let’s dig in. Here’s what new for designers this month. The Good Line-Height The Good Line-Height is the tool you won’t… Continue reading Exciting New Tools for Designers, November 2020
Rethinking the design of the race and ethnicity question on surveys
[unable to retrieve full-text content] Image courtesy of NASA via Unsplash: https://unsplash.com/photos/Q1p7bh3SHj8 Note to readers: I wish I had more resources and funding to really do justice to a project like this. For the time being, however, this was just a design challenge born out of getting annoyed by race and ethnicity questions. This work… Continue reading Rethinking the design of the race and ethnicity question on surveys
How to Make a Face Mask Mockup (Using a Face Mask Generator)
What You’ll Be Creating Face masks have become an essential item for many of us in the world, and creating a face mask mockup design can be a great way to experiment with reusable options. Have you considered designing or creating your own face mask, rather than relying on disposable ones? You can do so right… Continue reading How to Make a Face Mask Mockup (Using a Face Mask Generator)
Best Practices for App Icon Design
October 3, 2020 by Clarence App icons have become a very important part of mobile applications. Years before, just a simple logo of the application program or its company would do. However, nowadays, app icons have been an important element of branding and marketing. If an app itself puts importance on its usability, an app… Continue reading Best Practices for App Icon Design
How to Choose the Best Font for your Website
5 Shares Designing websites is a very intense process that entails lots of hard works. There are various things that you need to think about, such as the logo, color scheme, layout, text designs, and navigation. But the trickiest of designing a website perhaps lies in getting all the elements together to come up with… Continue reading How to Choose the Best Font for your Website
PHP Namespace Tutorial: The Basics
In this tutorial, I’ll go through the basics of namespaces in PHP. I’ll explain why you might need namespaces, and I’ll show you how to use PHP namespaces in your day-to-day development. More often than not, you will end up using third-party libraries from different vendors in your PHP applications. Now, there could be collisions… Continue reading PHP Namespace Tutorial: The Basics
Create Your First React Native Android App
React Native is an open-source mobile application framework created by Facebook you can use it to develop applications for Android and iOS devices with a single codebase. React Native powers some of the world’s most popular apps, such as Instagram and Facebook, and in this post I’ll show you how to create your first React Native… Continue reading Create Your First React Native Android App
Parse XML to an Array in PHP With SimpleXML
In this post, you’ll learn how to parse XML into an array in PHP. SimpleXML is a PHP extension that makes this possible. In your day-to-day PHP development, sometimes you’ll need to deal with XML content. Whether it’s exporting data as XML documents or processing incoming XML documents in your application, it’s always handy to… Continue reading Parse XML to an Array in PHP With SimpleXML
How to Make Your Own SVG Files
Using images is essential in web design. This is why knowledge about different image formats is important for web designers. Not only this, but it is also necessary to learn about the functions of each type of image. Knowledge on how to create and edit such images are also considered as essential skills for web… Continue reading How to Make Your Own SVG Files
11 Actionable Tips to Build a Winning Brand Identity
12 Shares Branding means much more than a cool-looking logo and a Facebook ad. It’s about turning your business into a recognizable company that people are devoted to and think positively about. Building your brand doesn’t happen overnight, but with ongoing effort and a proper plan, you’ll be well on your way to branding success.… Continue reading 11 Actionable Tips to Build a Winning Brand Identity
How to Make PNG Images Transparent for Free
August 3, 2020 by Sangalang Kristine Different image formats could be used, downloaded, and uploaded on the internet. There are three commonly used kinds of images on the internet – the PNG, the JPEG, and the GIF. The JPEG format for images is commonly used for articles, photography, and general kinds of presentations. These images… Continue reading How to Make PNG Images Transparent for Free
How to Install PHP on Windows
In this article, we’re going to discuss how to install PHP on Windows. There are three different ways to install and run PHP on Windows, and we’ll look at each one. PHP is a server-side scripting language which is mostly used to build web applications—these may range from a very simple blog website to a… Continue reading How to Install PHP on Windows
How to Create, Write, Read, and Delete Files in PHP
In this tutorial, we are going to learn file handling in PHP. I’ll show you how to create, read, write, and delete files in PHP by using the built-in file handling functions. File handling is something that you will need to do very often as a PHP developer. You could use PHP file handling functions… Continue reading How to Create, Write, Read, and Delete Files in PHP