How to pad numbers with leading zeros using PHP:
Example #1:
$num = 5;
$count = sprintf(”%05s”,$num); // produces ‘00005′
Example #2:
$num = 5310;
$count = sprintf(”%05s”,$num); // produces ‘05310′
sprintf - how to pad numbers with leading zeros
How to pad numbers with leading zeros using PHP:
Example #1:
$num = 5;
$count = sprintf(”%05s”,$num); // produces ‘00005′
Example #2:
$num = 5310;
$count = sprintf(”%05s”,$num); // produces ‘05310′
Official Script School Show #229 lineup for Friday Mar 11, 2005
Today’s planned show (#229): Friday Mar 11, 2005:
Forser will be on via Skype live from Sweden. Learn a little something about the chatroom @op and fellow programmer and developer as we build a project and share our notes and step-by-step actions. We’ll also be demonstrating a collaborative browsing session using Jybe.
- Reader beware: C-Munk’s adult blog is now live!
- Free IP to Country integration with PHP / MySQL
- Google News can now be customized (still no RSS though)
- MSN experimenting with RSS reader
- Man to lose all digits over cold cross-nation online love affair
- Shelley ponders if male bloggers primarily link up males?
- Does more internal bloggers necesarily more $$$ (quality and quantity)
- Teen convicted in Arizona maybe first state prosecution for illegal music downloading
- API fever continues: Google, Yahoo, Technorati, Feedster, and MSN working on one for MSN Spaces
- The 75 day rule and how domain expiration really works
- Help prevent other websites from displaying your website on theirs with a browser javascript redirect
- Mac segment: Fire IM client?
The 229th two hour of tech radio show starts at Script School 2pm PST / 5pm EST / 10pm GMT and your attendence and opinion is welcome and encouraged:
http://www.scriptschool.com/radio/ <– radio show feeds (look for the 24k and 56k links)
http://www.scriptschool.com/commons/ <– java chat
irc.scriptschool.com #scriptschool port 6667
Toll Free caller line (US and Canada): (800) 634-2718
Skype line: TDavid
## Hour #2: — Mainstream “Safe for work” –
(via webmastercookbook.com — LIVE commercial free, no carbs education) show #29 ###
A reality-based family-friendly webmaster e-learning show. Follow along as a Jowl learns webmastering and specifically how to create his very first website, step-by-step.
Drinks (cool stuff like RIAA-free music, free scripts, affiliate programs, websites, and more):
- Jybe collaborative browsing
Appetizers (hungry for knowledge, this will get you started)
- downloads for radio show nearing bandwidth breaking point
Main Course (the meat and potatoes of the show)
- planning for the prize database, taking pictures and sharing on the blog
Dessert (fun and fat-free stuff)
- adding a paypal tip box
The Check (what did we learn today)
- Take the weekly quiz along with Jowl — what was learned today?
Radio show #228: scheduled lineup
Today we are back from being dark last week with show #228:
Forser will be on via Skype live from Sweden (Forser is ill today). Learn a little something about the chatroom @op and fellow programmer and developer as we build a project and share our notes and step-by-step actions.
- How to use your Gmail account as online file storage easily integrated with Windows Explorer
- Vonage IPO rumours
- Apache turns 10, has almost 70% market share
- $4 stock trades?!
- Visual Studio development on a Tablet PC
- The new blog “tag”ging phenomenon demystified
- Yahoo! API released, and ideas to integrate into your websites
- How to make Windows XP start faster
- Mac segment: Mac the Ripper!
The 228th two hour of tech radio show starts at Script School 2pm PST / 5pm EST / 10pm GMT and your attendence and opinion is welcome and encouraged:
http://www.scriptschool.com/radio/ <– radio show feeds (look for the 24k and 56k links)
http://www.scriptschool.com/commons/ <– java chat irc.scriptschool.com #scriptschool port 6667
Toll Free caller line (US and Canada): (800) 634-2718 Skype line: TDavid
## Hour #2: — Mainstream “Safe for work” — (via webmastercookbook.com — LIVE commercial free, no carbs education) show #28 ### A reality-based family-friendly webmaster e-learning show.
Drinks (cool stuff like RIAA-free music, free scripts, affiliate programs, websites, and more):
- Using Real Alternative
Appetizers (hungry for knowledge, this will get you started)
- Setting a daily schedule for checking comments, follow-up and posts
Drinks (cool stuff like RIAA-free music, free scripts, affiliate programs, websites, and more):
- Using Real Alternative Appetizers (hungry for knowledge, this will get you started) - Setting a daily schedule for checking comments, follow-up and posts
Main Course (the meat and potatoes of the show)
- Jowl and friend starting to experiment with JavaScript Dessert (fun and fat-free stuff) - Other cool things to do with JavaScript
The Check (what did we learn today)
- Take the weekly quiz along with Jowl — what was learned today?