Ask about general coding issues or problems here.
2 posts • Page 1 of 1
- Posts: 2272
- Joined: Sat Jul 05, 2003 1:18 pm
- Location: A bunk in the back
Virtuoso wrote:How do I make it so that in certain forms, the name can only contain letters and numbers?
This will probably require the use of regular expressions, which aren't a picnic to use. Try this page for a reasonably quick primer.
Virtuoso wrote:Also, how do I disable some html in the forms someone submit. Some, not all.
Use strip_tags(), which has an optional argument for allowed tags.
Who is online
Users browsing this forum: No registered users and 7 guests