Links

Home arrow Articles arrow Programming
Programming
How to limit the number of words typed in a textbox using javascript PDF Print E-mail
Tag it:
Delicious
blogmarks
Stumble
Furl it!
Digg
YahooMyWeb
Technorati
User Rating: / 6

In this example we are going to create a function that will check the length of a html textarea element and dynamically update two span tags.
The tags will display the number of words remaining and the number of words type. Note that this function will not count the characters typed, but only the words.  If the length exceeds the specified limit, then a message box will be displayed, and no furthur text can be entered in the textarea.

Last Updated ( Wednesday, 25 June 2008 )
Read more...
 
mysql sample select queries PDF Print E-mail
Tag it:
Delicious
blogmarks
Stumble
Furl it!
Digg
YahooMyWeb
Technorati
User Rating: / 0
The select statement has to be one of the most useful statements in SQL. The queries mentioned here can be used across the board with most of the popular databases out there including my personal favorite, mysql.
Last Updated ( Sunday, 22 June 2008 )
Read more...
 
PHP Basics Reference Cheat Sheet PDF Print E-mail
Tag it:
Delicious
blogmarks
Stumble
Furl it!
Digg
YahooMyWeb
Technorati
User Rating: / 1
This cheat sheet covers Data Types, Variable Declarations, Common Array Functions, Comments, Arithmetic Operators, Relational Operators, Logical Operators, Assignment Operators, String Concatenation, String Manipulation, Cookies, Sessions, Error Handling, Super Globals, If Else Syntax, Inline If (Ternary), For Loop, For Each Loop, While Loop, Do-While Loop, Switch, Function Structure, Class Structure, Declare and Use Class
Last Updated ( Sunday, 22 June 2008 )
Read more...
 
Advanced PHP Cheat Sheet PDF Print E-mail
Tag it:
Delicious
blogmarks
Stumble
Furl it!
Digg
YahooMyWeb
Technorati
User Rating: / 0
A cheat sheet containing Advanced Operators, Database MySQL, File Reading / Writing, File / Directory Handling, Function Handling, Object Functions, Constants and Magic Constants.
Last Updated ( Sunday, 22 June 2008 )
Read more...
 
How to send HTML email in PHP using the built in mail() function PDF Print E-mail
Tag it:
Delicious
blogmarks
Stumble
Furl it!
Digg
YahooMyWeb
Technorati
User Rating: / 2

This snippet can be used in situations where you would like to send customized emails to prospective users that were invited by your site members to join your site.  By manipulating the headers, we have the ability to send full blown HTML emails with images and custom layouts using tables.

 

Last Updated ( Friday, 20 June 2008 )
Read more...
 
<< Start < Prev 1 2 3 4 5 Next > End >>

Results 41 - 49 of 49