436659 articles in total. 290 new added today.
Advanced Search
Find In
A & E  |  Auto  |  Business  |  Colleges/Universities  |  Crafts  |  Dating & Relationships  |  Fashion/Style  |  Film & Music  |  Food  |  Games  |  Health  |  Home & Garden  |  Humor  |  Literature  |  Parenting/Family  |  Politics  |  Random Thoughts  |  Real Estate  |  Science  |  Sports  |  Technology  |  Travel  |  Your City
FAQs

Just some syntax to pass along for those who may wanna reformat credit cards (if you are brave enough to store them as plain text in the first place) before sending them to an application for displaying. This lets you pad out all the numbers except the last four (all you developers have done this millions of times I'm sure.)

SELECT LPAD(SUBSTRING(`cardnumbercolumn`, -4, 4),LENGTH(`cardnumbercolumn`),'*') FROM table

 
Home  |  Submit Your Site  |  About Us  |  FAQs  |  Contact Us
Copyright © 2008 Byte Ventures. All rights reserved. Blogging Blogs - BlogCatalog Blog Directory Blog Fusion