We have created a simple Tag Cloud feature in our core php programming. Basically the Tag Clod is
available in word press or other content management system. Tag Cloud is the type of feature that
indicates the hitting on the particular tag or topic. In word press the blog comes under particular tag. If
people visit the blog [...]
Author Archive
We know that pagination is the way through which we can display all our data in a single page. It denotes that the data is fetched from database based on the limit. For example, I want to display the data from product table in database. There are 20000 data entries but we can display only 5 data on a single page. That would mean we need 4000 pages. This can be solved using pagination. I came across several types of pagination while searching. But I didn’t need extensive database interaction that most of the techniques required. So, I narrowed down on a concept of pagination based on arrays, which a friend of mine uses. He gave me the code and I customized it and used in my work. This code needs only the record array that comes from the SQL query. It holds data and displays as per requirement. Use it and forget about the extensive database interaction normally used in pagination code. I hope you find this post useful.
We programmers are faced different types of security problems in our development life cycles. Some people spend a lot of their time to fix the unwanted errors .But some basic precautions should be taken to reduce these problems. I came across several sites which tell you how to improve your website security, and I share it with you here.
Of course, the best way to avoid writing insecure PHP scripts is to not write scripts at all. Unfortunately this probably isn’t what you want to hear, and doesn’t condone a healthy learning environment. If you’re going to put your website and your users potentially at risk by writing your own scripts, do as much studying beforehand as possible to reduce the risk. Take advice from experts in the field and don’t base your scripts on known insecure code.
Time zone settings are normally not the first thing you think of when working on a web project with PHP, yet as soon as dates and specific times are relevant to your application and you possibly have users from different time zones, you suddenly realize how practical it would be if the time you work [...]
Hi,
I have something that I want to share with you all which might help you to enhance your Website.
How can we convert XML data into an HTML file?
Step1:
Name the xml files as: example.xml
Step2:
The xml data should be like this. There will be Author tag which is used for conversion.
<?xml version=”1.0″ encoding=”ISO-8859-1″?>
<Author>
<TITLE>Advance PHP/MYSQL Cook [...]
