text2num


#1

Hey I need a function that transforms text to a number…does anyone have an idea.

Thanks,
Andy


#2

Why do you need to convert it? Anyway check out intval()

Reference:
http://www.php.net/manual/en/function.intval.php