Apr 07, 2011 — 5 comments
A handy PHP script which allows you to count the number of likes for a specific Facebook page
Functions in PHP are block of codes or statements that can be executed repeatedly from any point in a script after it has be declared. A function is ignored until when called in a script. Using functions, you can write codes that are readable and reusable. Functions also helps to modularize your code.
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.
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?