11 Celebrities who are real geeks
headline »
Sat, 27/06/09 – 0:00 | 3 Comments

Those are the days when celebrities were really gorgeous, having great fit, wealthy and also glamorous. But now there are a lot of changes happening including the return of witty jokes, cook books and films and also the TV shows about the aliens and supernatural. Lots of geeks are given really encouraging roles which has put the traditional celebs to the back. Let’s look at some celebs who are the upcoming geeks who seek fame and fortune.

Read the full story »
Home » Computer, General, Guide, How to, Internet, Reviews, Software, Tips

Amazing PHP codes for proper control on HTML

Submitted by admin on Thursday, 9 July 2009No Comment

Below are mentioned some interesting PHP codes to handle HTML, dynamically, that under GNU General Public License are free to use. Web developers would find it of great use to them.

HTML Table Tag Analysis: Helpful for debugging bad HTML code. This program counts the number of opening table tags and how many embedded tables exist.

PREV_123_NEXT function: Based upon 123 next code snippet logic this code is rewritten to provide array of links as an output on a webpage.

Url to Hyperlink: This function code changes a string (or a text) into a hyperlink.

Example: My site is http://www.pankajspeaks.com will be trasformed to: my site is <a href=”http://www.pankajspeaks.com”; target=”TARGET”>www.pankajspeaks.com</a>.

This function replaces an http, https or www in a text with an html A tag.

PHP function for cleaning up HTML and JavaSctipt code: This code lets a PHP script to clean up HTML code before resulting it by providing correct indentation to HTML/XHTML 1.0 and Java Script to increased readability of the output.

Breadcrumbs Navigation: To make navigation less confusing, this code generate resource to aware a visitor their positioning on a website.

Use content from another site: Use of this short script allows you to take content from another page and embed it into your own pages. You just need to put the URL of the page that you like content wise to read from to enter at the start and finish lines.

Dynamic List Boxes: Along with the use of mySQL and PHP this code lets to select from two listboxes filled up with data from two related tables. In the process when a user select the first list box the second list box gets changed accordingly.

Object HTML: This is a set of classes which enable a web developer to build HTML documents completely w/ objects in PHP.

OO HTML Table Generation: Automatic generation of HTML for table.

  • Colspan, rowspan, table style, column style, cell style, and data style may all be defined.
  • OO interface
  • Simple but effective

Subscribe

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.