The variable $system_tm contains the value 16:40 When I try to insert this value in a varchar field in a sqlite table it gives me ' unrecognised token ":" ' due to which the insertion process fails.
How do I get rid of this? Probably should be some addslashes or some other stuff, but I am not quite sure. Kindly help. Regards, Anirban Sarkar

