PDA

View Full Version : Okay got a general question...



mrgwork
Mar 9th, 2009, 07:17 PM
I am wanting something do setup a page that i could use to have the user input a number and return a specific result if its within a range. Not sure on the way to go about this if asp would be a good way or php tied to a sql database. Just tryen to get pointed in the right direction.

Thanks in advance.

Mike

oracleguy
Mar 9th, 2009, 07:32 PM
You could do it in any server side language.

mrgwork
Mar 9th, 2009, 07:34 PM
another thought i just had say i wanted to then store this number into a searchable database then which would be the best course of action? Im thinken of setting up something for serial numbers for some of my users.

Fumigator
Mar 9th, 2009, 07:42 PM
PHP is free... so... :thumbsup:

ohgod
Mar 10th, 2009, 03:01 PM
php is free... and has a large community and thorough documentation. not to mention tutorials out the demon hole...

it also interacts very very easily with a mysql db

http://php.net/

rafiki
Mar 10th, 2009, 03:53 PM
PHP is huge, and would be easy to accomplish this in PHP.
Look at the range (http://php.net/function.range) and in_array (http://php.net/function.in-array) functions.
Thanks.
Rafiki.