Apr 07, 2011 — 5 comments
Streamlining your web development workflow is a gift that will pay off every day! Read this brief post to get a few tips for making your next project run smoothly while garnering some with massive time savings.
For both style and seo reaasons, having bold first paragraph content in your wordpress website is a smart feature. While searching for a quick and easy to use method of implementing this feature, I came across a handy PHP snippet that makes your first paragraph bold or larger. This PHP snippet works alongside CSS which allows you to style your first paragraph anyway you want!
PHP Array Length can be measured by using either count function or sizeof function in php. both functions will work same, sizeof function is alias of count.
The basename($_SERVER[‘PHP_SELF’]) function is used to get current pagename only.
A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can be placed anywhere in the document. On servers with shorthand support enabled you can start a scripting block with <? and end with ?>;.
How to get client IP Address in PHP, if you want to get ip address the simplest way use to remote address server super global. But this is not the best way.
Scrapping the impossible
This video will show you how to use PHP in CSS stylesheets.
Numeric strings are used all the time in PHP, whether it be to count through loops or just to count certain features such as number of posts.
There are many different types of strings in PHP, this tutorial aims to guide you through them and help you understand when best to use each string.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?