PHP Tutorials & Examples

How To Set AllowFieldTruncationHeader – Salesforce.com PHP Toolkit

Recently I had to develop a pretty custom plugin for WordPress that would feed data into Salesforce.com. Using their PHP Toolkit this was relatively straight forward, although one thing that was not obvious from the start was the AllowFieldTruncationHeader you can pass to Salesforce.com, this helped massively in the plugin I built. This is a quick... Read Full Article
Categories: PHP

CKEditor Broken In IE + Unterminated String Literal in Ace.js

This is a quick post to let people know about an issue with the CKEditor in drupal not displaying for internet explorer. I searched for a solution for a long time and could not find out why the CKEditor would not display in IE, very frustrating (but then I've never been a huge fan of drupal). It turns out that this is a conflict with the Fitvids... Read Full Article
Categories: PHP

Where & How To Comment Out HTML or PHP?

If you have ever seen anything like <!-- I am a comment --> then you will know what an html comment is. This is a quick post to show how to do html comments and when you should use them. Here is an html comment. [html] <!-- I am an html comment. --> [/html] Notice the opening tag starts with an exclamation mark, but the... Read Full Article