• Skip to main content
  • Skip to primary sidebar

Ryan McCormick

Web Development

How Do I Generate a QR Code For My Current Page in PHP?

March 27, 2011 by Ryan Leave a Comment

QUESTION How Do I Generate a QR Code For My Current Page? ANSWER This is a pretty simple solution using Google's charts API and some PHP. I uploaded a sample file which you can download by "right-click" and "save-as": qr-code-current-page.zip 1.) You first need to determine your current page. 2.) Second, you need to implement Google's chart api for QR codes. 3.) Write both … [Read more...] about How Do I Generate a QR Code For My Current Page in PHP?

Add Twitter Follow Button to Left Side of Website

February 1, 2011 by Ryan Leave a Comment

Twitter is a popular service that helps people deliver real-time mass communications. If you have a blog or website and a Twitter account, why not make it easy for your visitors to follow you? Included in this tutorial is: simple HTML code for your site (html and text file), and two follow images. Download the file pack from here (right-click and save-as): Twitter Button … [Read more...] about Add Twitter Follow Button to Left Side of Website

Display Random Testimonials in PHP

January 19, 2011 by Ryan 1 Comment

Display Random Text in PHP

Lately I have been working on some new projects. I have a client right now that operates a service business and they would like to display testimonials on their site. For this application, I wrote a custom, simple solution to accomplish this with PHP. Here is a preview of the code: -------------------------------------------- Use a PHP include to use this code on your target … [Read more...] about Display Random Testimonials in PHP

Click to Remove Text with JavaScript

December 15, 2010 by Ryan Leave a Comment

I have been working on some new projects and it seems that adding some UX (user experience) makes a website flow better. Today I will be talking about how to remove default text from a textbox by simply clicking on it or by using the onFocus function with JavaScript. So... I have a textbox for a search function on a page that I set to display "Enter Search Terms..." by … [Read more...] about Click to Remove Text with JavaScript

« Previous Page

Primary Sidebar

Recent Posts

  • Force Quit Kill all Chrome Windows MacOS
  • SOLVED: Angular 6 CLI Karma Stuck in Single Run | Karma Stops Running
  • How to Manually Install Java 8 on Ubuntu 18.04 LTS
  • Remove VirtualBox from Ubuntu 16.04 Xenial
  • Clear all Node Modules Folders Recursively Mac/Linux

Recent Comments

  1. KKV on Webstorm adding spaces between imports and braces | JavaScript and TypeScript
  2. jusopi on Clear all Node Modules Folders Recursively Mac/Linux
  3. Qaisar Irfan on Clear all Node Modules Folders Recursively Mac/Linux
  4. mustafa on Remove VirtualBox from Ubuntu 16.04 Xenial
  5. Pourya on How to Manually Install Java 8 on Ubuntu 18.04 LTS

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in