•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 397,627 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,345 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2278 | Replies: 4
•
•
Join Date: Jan 2007
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
Hi I want to split a variable to check what type of user they are. If they are user type 1 their username will be in the form "LLL" where L is a letter. If they are user type 2 their username will be in the form "LLNNNNN" where L is a letter and N is a number. I thought I could use PHP split and then is_numeric function to check the username. Would this be the best way to do it? If so what is the code I need to use to split the variable?
Many thanks for your help
NH
Many thanks for your help
NH
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
- how to format the form textarea? (PHP)
- Open In New Window Php (PHP)
- storing multiple email address problem (PHP)
- PHP 'explode()' in C++ ? (C++)
- Equivalent ASP Snippet for PHP Spam Trap (ASP)
- If...else statements (Python)
- php arrays (PHP)
- Help with programming assignment (Python)
- This ought to be simple - extra spaces (PHP)
Other Threads in the PHP Forum
- Previous Thread: elow guyz.......
- Next Thread: How to php export to excel



Threaded Mode