Welcome Guest, Not a member yet? Register   Sign In
using database library calls within a helper
#6

[eluser]AF[/eluser]
Ok, That helps. I had thought I would put it in a library earlier, but the functions don't fit nicely into a class, they are more just a variety of different functions.

A pure PHP function call instead of a db call is an option, but it means I rebuild a bunch of wheels in php when I have the functions working and tested in mysql... I do take your point, is there an easy date_diff function in php? I don't know it off hand.

Thanks for your help, I appreciate the knowledge and experience.


Messages In This Thread
using database library calls within a helper - by El Forum - 08-30-2009, 07:19 PM
using database library calls within a helper - by El Forum - 08-30-2009, 09:34 PM
using database library calls within a helper - by El Forum - 08-30-2009, 10:17 PM
using database library calls within a helper - by El Forum - 08-30-2009, 10:45 PM
using database library calls within a helper - by El Forum - 08-31-2009, 02:18 AM
using database library calls within a helper - by El Forum - 08-31-2009, 07:23 AM
using database library calls within a helper - by El Forum - 08-31-2009, 09:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB