Skip to content

write

Writing about interests; Web, Dev, SEO, Marketing and more!
Menu
  • Home
  • Contact

Tag: PHP

PHP backend web language

July 22, 2021

A different approach to searching an associative array with PHP

A different method to finding values in an associated or nested array rather than use a loop. Looping The seemingly easiest way is to do a loop and when the…

June 21, 2021

Quick PHP string manipulation with strpos and substr

Two handy and complimenting string functions in PHP that assist with string manipulation and any tasks involving breaking down a string. The first function is strpos which finds the position…

June 9, 2021

How to return integers and floats from MySQL with PHP PDO

How to return numerics in JSON data from a PHP PDO MySQL query. Usually and as default all of the data is returned as strings. The following example SELECT code:…

June 7, 2021

How to check if a file exists from a URL with PHP

How to check if a file exists on a remote server or network from a URL with PHP. Using file_exists() only works for directory links (files on the system) and…

May 7, 2021

Generating and creating an XML file from MySQL with PHP

Generating an XML file with data from a MySQL database using the inbuilt SimpleXMLElement class. By using this class you can avoid formatting errors and issues than if you were…

April 20, 2021

How to POST JSON data with PHP

How to POST JSON data or a file in PHP including receiving the POST request and saving it to a file. This is done with the easy to use PHP…

April 14, 2021

How to validate a date with PHP

A simple method to validate a date or check the date is true to the Gregorian calendar in PHP by defining the month, day and year. PHP checkdate() will return…

April 6, 2021

Load and execute SQL files with PHP

How to load a SQL query from a file instead of having an inline query. This is done to help with formatting and easier understanding of the code. All that…

April 5, 2021

Doing MySQL insert from a PHP loop the right way

Effectively manage PHP MySQL inserts from a large loop using the PDO connection. The key is to avoid committing data on each loop, this is done using a transaction. Use…

March 30, 2021

How to enable GD Library with XAMPP PHP 8 on Windows

How to enable the GD image library for PHP 8 with XAMPP on Windows. All that’s needed is a simple php.ini file edit. Enable GD PHP 8 XAMPP To enable…

Posts pagination

« Previous 1 … 6 7 8 … 26 Next »

Categories

Analytics Business Computing Consumer Creative Development Fitness Gaming Managment Marketing News Photography Random SEO Sport Technology Travel Uncategorized Web Design

Tags

a6500 API App Apple Blog Bootstrap Chart Computing CSS Dev Digital Marketing Drone FFmpeg Hosting How to HTML Internet IOS jQuery JS Lake Eppalock Laravel Linux Marketing Mavic Air 2 Media MYSQL nba Online Store Photography PHP Product development Server Small Business Social Media Sony alpha Ubuntu Video VPS Vultr Web Web design Web Dev Windows server YouTube
 

Loading Comments...