Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Beginner trying to simplify script


Matthew1980 - 7:09 am on Jun 7, 2010 (gmt 0)


Hi all,

Oop's Yes Rocknbil, I should have noted that possibility, so instead of using strip_tags() is_numeric() would have been and is the best way to go with that, and I only just noticed as there were no curly braces on the original post - but I am sure that can still function, and that the use of curly's is just good practise and clears up ambiguity between clauses. If I am wrong, please let me know.

Just to clarify - replace strip_tags with is_numeric() - that's if your file system is based on numbers

Happy coding calvinmicklefinger,

Cheers,
MRb


Thread source:: http://www.webmasterworld.com/php/4147806.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com