simpleXML

Is simpleXML installed? It should be there by default with php, but it seems to be omitted in some installs (e.g. V7 PHP on ubuntu) Read values For example, this XML file: Reading a value: Read XML to array example Write XML File

Read More

.SEO basics

Things to work on for SEO Page load speed Critical for good SEO ranking. Use tools to measure your page speed and optimise as needed. Good tools to analyse this: Google’s Page Speed Insights GTmetrix Dareboost Site structure Can be important for optimising SEO Web Vitals https://web.dev/vitals/ Page Experience Google Search Console reports directly on […]

Read More

CSS File Paths

Images referenced in CSS files These are referenced from the locoation of the CSS file itself (not the website site root)

Read More

.1 Set up VS Code for web development

How To Set Up Visual Studio Code (VS Code) for PHP Development | DigitalOcean VS Code Options Our general settings for VS Code – see here Web development specific settings Use CTRL+SHIFT+P and then enter “Open User Settings (JSON)” to open the raw json file. Check it has the following: Extensions PHP Intelephense by Ben Mewburn […]

Read More