HOME
|
HOSTING COUPON
|
TEMPLATE
|
PHP SCRIPTS
|
LINK TO US
|
LINK
|
REGISTER
|
CONTACT
::: Member Login :::
Username
Password
Forgot your password ?
::: PHP Tutotal :::
PHP Basic
(7)
PHP Advanced
(4)
PHP Database
(2)
Coding Step By Step
(8)
PHP and AJAX
(0)
::: PHP Example :::
Arrays
(1)
Code Highlighters
(3)
Database Functions
(12)
Date & Time
(5)
E-Mail
(6)
Forms
(5)
Guestbooks
(1)
Logging
(2)
Miscellaneous
(10)
Password Generators
(3)
Randomizers
(3)
String Manipulation
(10)
User Authentication
(6)
::: Search On T4VN :::
Search On Tutorials
Search On Example
Search On News
::: T4VN Statistics :::
PHP Scripts : 65
PHP Example : 67
PHP Tutorials : 21
PHP News : 93
Total Coupon : 36
Other Tutorials :
Member : 266
::: Sponsored Links :::
Home
/
String Manipulation
Today :
Rainbow Text
I figured that it could be done using an array of hex codes and heres what I've come up with.
Numbers To Letters
This code will convert numbers to letters. I'm not sure what it can be used for but someone on this site asked me to help them, so here it is.
Numeric Currency to Alpha Word Value String
This function takes a numeric currency value - say 34.87, and converts it to a string as in Thirty Four Dollars and Eighty Seven Cents. Handles amounts up to 999 million. Handles singular and plural "dollars" and "cents". Decently documented and easy to follow.
Shorten Variables Longer Than $x Characters
Want to list recent news, display some of the content, but not all of it? Want to list all of your users but don't want to stretch your table with long usernames?
Well, this is a very simple way to shorten a variable if it exceeds the given length.
1
2
3
Next
::: Resources :::
Links Directory
Suc Khoe Viet
Programming
2
3
Webmaster
2
3
Web Design
2
3
Web Hosting
2
3
Other Links
2
3
Asian ShowBiz News
Teach Seo For You
Đào Tạo PHP
Thai Cuc Quyen
::: New Templates :::
::: Other Tutorials :::
Program Design
Powered By
T4VN.NET
- Version 2.0 - CopyRight © T4VN.NET 2005-2007