Jump to content

Integer Function?


Twango

Recommended Posts

Hi, I'm retrieving data from a MySQL databaseI want to add a value inputted from a text box, then add them together and save that.I know how to retrieve and save. My problem is converting to an integer... I know how to do this in VB.net (CInt) now, how would I do this in PHP?As a last resort, would somthing like eregi_replace("1",1,string) work?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...