metabee Posted February 14, 2012 Report Share Posted February 14, 2012 Hello, I am facing problems of trying to insert exploded values into the database. I always get this 000 0000-00-00 00:00:000 format For example I type 100 2000-10-02 06:00:10 6 in the three textboxes, 100 -> textbox 1 2000-10-02 06:00:10 -> textbox 2 6 -> textbox 3 it still remain the same 000 0000-00-00 00:00:000. I want to get this data 100|2000-10-02 06:00:10|6 in sql database. Can anyone how make it to work? 1.zip Quote Link to comment Share on other sites More sharing options...
4bdulmobeen Posted February 15, 2012 Report Share Posted February 15, 2012 Hello, I am facing problems of trying to insert exploded values into the database. I always get this 000 0000-00-00 00:00:000 format For example I type 100 2000-10-02 06:00:10 6 in the three textboxes, 100 -> textbox 1 2000-10-02 06:00:10 -> textbox 2 6 -> textbox 3 it still remain the same 000 0000-00-00 00:00:000. I want to get this data 100|2000-10-02 06:00:10|6 in sql database. Can anyone how make it to work? you should use serialize() function to insert it into the database... when u get it back from db..use unserialize() function.. Hope it'll help u.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.