Skip to content

write

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

Tag: How to

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…

June 2, 2021

How to build an array with Javascript

Building an array in Javascript and filling a text area with the array and clearing it on button click. CodePen example. To build an array in Javascript you need to…

June 1, 2021

jQuery select closest text and input values example

Using jQuery to select text and input values based on closest parameters. CodePen example. closest() will get the first element matching by traversing up, whilst find() will descend until the…

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 27, 2021

How to do INSERT with an UPDATE on duplicate using SQLite

How to do an UPDATE from an INSERT with SQLite when there is a duplicate key value. With SQLite you cannot do the simple MySQL INSERT on duplicate key UPDATE:…

April 22, 2021

Apache alias; Map URL to a filesystem location

Apache alias is the method to use the filesystem other than under the document root. Setting an alias directory with Apache means that when going to the specified URL path…

April 21, 2021

How to attach BuyVM Block storage slabs

A simple method and guide to attaching BuyVM storage disk slabs to your VPS. This post uses a 3TB disk slab and VPS running Ubuntu 20.04. Firstly make sure your…

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…

Posts pagination

« Previous 1 … 11 12 13 … 37 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...