Skip to Main Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner to intermediate content levelBeginner to intermediate
1321 pages
46h 24m
English
Wiley
Content preview from Adobe® Dreamweaver® CS4 Bible
761
Making Data Dynamic
20
Format Option Example
Math Abs
Atn
Ceiling
Cos
DecrementValue
Exp
Fix
IncrementValue
Int
Log
Log10
Randomize
Round
Sgn
Sin
Sqr
Tan
Returns the absolute value
Returns the arctangent
Returns the next highest integer
Returns the cosine
Lowers the number by 1
Returns the exponent
Rounds the number toward zero
Increases the number by 1
Returns an integer
Returns the natural logarithm
Returns the logarithm to base 10
Seeds the random number generator
Rounds to the closest integer
Returns 1 for positive numbers, –1 for
negative numbers
Returns the sine
Returns the square root
Returns the tangent
Encode—URLEncoded Format N/A www.idest.com/Party Time = www.
idest.com/Party%20Time
Encode—PreserveSingleQuotes N/A ‘The Answer’ = ‘The Answer’
String—Reverse N/A ‘The Answer’ = ‘rewsnA ehT’
TABLE 20-3
PHP Data Formats
Format Option Example
AlphaCase Lower
Upper
First Letter Upper
Capitalize
My Widgets = my widgets
My Widgets = MY WIDGETS
My Widgets = My widgets
My Widgets = My Widgets
Trim Left
Right
Both
“ Widgets “ = “Widgets “
“ Widgets “ = “ Widgets”
“ Widgets “ = “Widgets”,
Encode HTML Encode
URL Encode
Raw URL Encode
URL Decode
Raw URL Decode
I’m <b>bold</b> = I’m &lt;b&gt;bold&lt;/b&gt;
www.idest.com/Party Time = www.idest.com/Party+Time
www.idest.com/Party Time = www.idest.com/Party%20Time
www.idest.com/Party+Time = www.idest.com/Party Time
www.idest.com/Party%20Time = ww ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book