vcherubini
Programmer
I am having trouble working with the regi_replace and eregi_replace functions.
I have a mySQL dbase that I read a time from. The time is inputed in the form hms, or hours minutes seconds. When I read the value from that field, I get some huge number, such as 33045, meaning it is 3:30 and 45 seconds.
I am wondering how I can use the above mentioned functions or another function to extract the first number, the second and third numbers, and the fourth and fifth numbers.
Any help is appreciated.
Thanks,
-Vic
vic cherubini
malice365@hotmail.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
Wants to Know: Java, Cold Fusion, Tcl/TK
====
I have a mySQL dbase that I read a time from. The time is inputed in the form hms, or hours minutes seconds. When I read the value from that field, I get some huge number, such as 33045, meaning it is 3:30 and 45 seconds.
I am wondering how I can use the above mentioned functions or another function to extract the first number, the second and third numbers, and the fourth and fifth numbers.
Any help is appreciated.
Thanks,
-Vic
vic cherubini
malice365@hotmail.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
Wants to Know: Java, Cold Fusion, Tcl/TK
====