Hi Everyone,

Does anyone know if it is possible to check the values of a $_GET field
and see if the submitted data is numeric or contains any letters.

What I want to do is allow users to link to a record in a MySQL db using
the record id's and the values of the name field.

www.domain.com/showlisting.php?town=1 and
www.domain.com/showlisting.php?town=London 

Both would work by performing a search on different fields in the MySQL
SELECT statement.  Just an idea to make thing easy for users, any help
appreciated.

Thanks

Stephen


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to