Sunday, August 28, 2011

Add Scrolling Headlines Widget to Your Blog for Professional Blog Design

Scrolling Headlines widget shows recent post titles of your blog like scrolling news headlines as seen in new web sites and TV news channels. Adding the widget to your blogger beta is very easy. In the following form

  1. Change "yourblogname" with your blog name
  2. Add code to your blog

Just copy the above code and paste it in new widget of your blog. Also, don’t forget to add your sitename in the last line of HTML code where I’ve mentioned “http://yoursitename.blogspot.com”. I mean just replace it with your sitename and you are done. 

Printing XML: Why CSS Is Better than XSL

 Longtime readers of XML.com will remember the battles between XSL and CSS that took place in these columns in 1999 and that were emorialized in XSL and CSS: One Year Later. Since then, the two languages have coexisted in relative peace: CSS is now used to style most web sites, XSLT (the transformation part of XSL) is used by many server-side, and XSL-FO (the formatting part of XSL) has found a niche in the printing industry.

A recent entry in the blog of a web luminary may signal the start of a second round of hostilities. Norman Walsh, a member of the W3C’s

Technical Architecture Group and co-author of the W3C’s Web Architecture document (WebArch), recently blogged:

Thursday, July 8, 2010

PHP - Printing a random file from a folder

This is one of the easiest ways to ad management out there. It selects a random file from the directory you chose and displays them randomly.
This code is useful if you have ad codes in different files and want to randomly rotate them.

Show headline ticker in your blog

Display a cool headlines ticker in your blogs and change the way it looks!

With our "Headlines widget" you can put a  customized latest posts ticker directly into your blogs unlike a normal code copy and past process.

Like our earlier headlines scroller widget, we developed a clean interface to take the full advantage of this cool feature:

Just copy the above code and paste it in new widget of your blog. Also, don’t forget to add your sitename in the last line of HTML code where I’ve mentioned “http://yoursitename.blogspot.com”. I mean just replace it with your sitename and you are done.

MySql Tutorial 6 - Using mysql in Batch Mode

In the previous sections, you used mysqlinteractively to enter queries and view the results. You can also run mysql in batch mode. To do this, put the commands you want to run in a file, then tell mysql to read its input from the file:
shell> mysql < batch-file

If you are running mysql under Windows and have some special characters in the file that cause problems, you can do this:
C:\> mysql -e "source batch-file"

If you need to specify connection parameters on the command line, the command might look like this:
shell> mysql -h host -u user -p < batch-file

Enter password: ********

MySql Tutorial 5 - Getting Information About Databases and Tables

What if you forget the name of a database or table, or what the structure of a given table is (for example, what its columns are called)? MySQL addresses this problem through several statements that provide information about the databases and tables it supports.

You have previously seen SHOW DATABASES, which lists the databases managed by the server. To find out which database is currently selected, use the DATABASE() function:
mysql> SELECT DATABASE();
+------------+
| DATABASE() |
+------------+
| menagerie |
+------------+

MySql Tutorial 4 - Retrieving Information from a Table

Just a database system would be useless without some way to write data to the database files, a database would be similarly useless if there were no way to extract the stored data. Amongst the available SQL statements, one of the most frequently used is the SELECT statement. The purpose of the SELECT statement is to retrieve data from a database table based on specified criteria. In this chapter we will cover the use of the SELECT statement in detail.

Contents