Secret…..How I Learned PHP!

December 23, 2008 by  
Filed under Xsitepro Tutorials

plankblog-300pxlSomeone asked me, “How do you know so much about PHP?”.

Short answer…Robert Plank! And he has a course called Hypnotic PHP designed especially for interent marketers, actually marketers of any kind can use the material you learn in this course about how to use php effectively to create more sales and bring in more money!

Back to the above question…….it really gave me a good laugh!  I really don’t know a whole lot about how php works, but I can copy snippets of php code and use them when building websites.

About three years ago I heard the term “php include” and was introduced to the concept of using it to build websites. I was totally baffled by the thought and the concept.

Now I use php includes in just about every website I build, and I use php includes easily in my Xsitepro websites. Sometimes I’ll insert a php include that points to an empty file, at the beginnning, middle or end of a webpage. As long as the file that is being “included” is empty, nothing will show. However, you can add anything to that empty file, at anytime, and the content will immediately show up.

Let’s look at the code for a simple php inlcude.

<?
php include (“page.html”);
?>

Where ‘page.html’ can be any page with text or html coding. For instance, let’s say you insert the php include in the beginning of your website article. If ‘page.html’ doesn’t include any content, your webpage will simply consiste of the basic article. However, if ‘page.htm’ had the following html coding:

<p>This article about php includes is one of the best I’ve seen, be sure to read it completely and check out the rest of the articles about php coding on this page.</p>

You would then see the above sentence wherever you inserted the php include.

It’s really amazing what you can do with php includes, and this is only the very basic of basic php code snippets. In one of Plank’s warrior forum blog posts he reveals a very simple php code snippet designed to rotate images, text, files or just about anything on your webpage. A simple piece of code that brilliantly rotates content….that means keeping information fresh on your website without having to edit it constantly.

Bobby Plank (I bet he would hate being called that….I kinda enjoy annoying him :) ) has produced a brilliant set of tutorials in the form of pdf’s and screen capture videos covering a gamut of php code for the internet marketer. Too many products to mention…but that is my secret source of figuring how to use php when building and designing websites.

My goal with this blog about Xsitepro is to help as many people as I can. In some cases that might be a newbie who doesn’t know the meaning of ftp…..or maybe you’re more advanced and are interested in learning how to use things like php includes…..hopefully, I can add to your knowledge which will encourage and help you to build the most effective websites available! Keep in mind, xsitepro is a platform or application used to build websites……very good websites, but they only become very good once you began to learn and implement things like php, advanced html coding and maybe a little javascript. So….make sure you invest some time in learning how to create one extra effect…..and that my friend will cost you the price of an ebook, seminar, video series or maybe a webinar or two.

So….check out Robert Plank’s blog, he has a lot of coding and marketing information there that won’t cost a penny. His latest post is on an unusual approach to membership sites….worth checking out. Also, he has all or at least most of his products listed in the right navigation bar….check those out, buy them one at a time and learn how to get a jump on your competition.

Post to Twitter Digg This Post

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Comments

2 Responses to “Secret…..How I Learned PHP!”
  1. armel says:

    Hi boy.

    Very nice themes created there.

    Do you create custom template for people ? I yes, i’d like to know your rate.

    I’m trying to launch a site on business planning software on french market, but i’ve used wsite pro. so, please take a look to my site, give me ur answer and please, custumize ur “about” page ;-)

  2. ref says:

    Great info about PHP include. I’ve been wanting to learn more about PHP, and this is a great place to start. Thanks!

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Powered by Yahoo! Answers