FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


A Bit Of Help Needed :P





Ben
Hi!

I need a little PHP script that does the following:

I think you might need to use the eregi() function, but dont know how to code it properly.

I need a script that will validate a number. So you are only allowed numbers - no letters. You are allowed a full stop for a decimal point, buut must have a number each side, and also allowed a hyphen at the start for negative numbers.

Any help is appreciated thanks Razz
Ben
Related topics
Validation help needed
Help needed :P
Help needed with Javascript and overflow
$_COOKIE and $_SESSION help needed!
Big Help needed .
Opion's and help needed! <-- Lol.
Several Computer Issues
Help Needed with phpBB overall_header.tpl
Help needed for Windows Mobile 6 programming
help needed - phpmyadmin under Ubuntu
mySQL help needed, any other good database thing?
Some Wireless Help Needed
Help on Windows 7 Ultimate - installing IIS 6
No icons on backend??
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.