PHP

Concatenating Strings in PHP and JavaScript

Combining two strings into one string is easy with both PHP and JavaScript. In PHP: $string1 = ‘Hello’; $string2 = ‘World!’; $string3 = $string1.’ ‘.$string2; echo $string3; // prints – Hello World! In JavaScript: string1 = ‘Hello’ string2 = ‘World!’ string3 = string1 + ‘ ‘ + string2 alert(string3) // prints – Hello World! in …

Concatenating Strings in PHP and JavaScript Read More »

How to Schedule a Script to Execute With Cpanel

Scheduling a script to run with cpanel is fairly simple. The hardest part is getting the command syntax correct. To schedule a script on Linux based hosting (as opposed to Windows based hosting), we use what’s called a ‘cron job’. According to Wikipedia, ‘cron’ comes from the Greek word for time – chronos. Scheduling a …

How to Schedule a Script to Execute With Cpanel Read More »

How To Pull Information From Another Website

There are several ways to include information from another website into my website. One of the easiest ways is using the iframe tag: <iframe src=”https://cindycullen.com”>   Your browser doesn’t like iframes </iframe> The iframe tag will pull in the page and show it exactly like it would show that page in my browser window. It basically …

How To Pull Information From Another Website Read More »

Scroll to Top