Here is a function to generate a select box for a HTML form. The three parameters are:
When debugging PHP code the print_r can be useful if you want to know what an array or object contains. It will take any variable as input and will print off as much information as it can about that variable. The following code.
Adding a hyper link for an RSS or Atom feed on your web page works, but that's not all you can do. By adding a link to the head section of the page you can allow your users an alternative method of picking up your feed.
To add an RSS feed use this.
<link rel="alternate" type="application/rss+xml" href="http://www.example.com/rssfeed.xml" />
To add an Atom feed use this.