Viewing all posts under Tutorials
How do I display PHP code02/13/11
As you probably recall in our previous article on php variables we used something called echo. Your entire PHP career will rely not only on your ability to create a script that produces a desired result, but to display that result to the web for the world to see. This is done through the echo command. <?php $myResult = ‘Hello’; echo $myResult; echo “<h3 class=\”className\”>This is fantastic</h3>”; ?> The above code will produce the following result: Hello This is ...
read moreWhat is a PHP variable?02/11/11
A variable is something that stores a value. It can hold text or numbers and reused as many times as you need throughout your code.
read moreThere are two options for embedding YouTube videos in your blog posts. One option is using the embed code that YouTube provides and the second option is using the media embed button that WordPress includes. YouTube Embed Video Code First, go to the YouTube video that you want to embed and look for the embed button under the video. Click the embed button and select your options. Check “Include related videos” if you want other videos to display after your video has played. If you are posting a video of you...
read more