Welcome Guest, Not a member yet? Register   Sign In
Can't get information to insert into database
#3

[eluser]d1a8lo24[/eluser]
You can use the profiler to narrow down where the problem is, if you get an output from the profiler then you will know that you have an sql error or something wrong with the upload function.

If you don't get any output then your controller has a problem which i don't think so but you never know.

Also I see that you're using an SQL time stamp which is 2011-05-10 02:02:40 am or something you might be getting an error there SQL hates it when the time stamp is not in the right format.

That is why more experience programmers use time to keep track of time meaning when was it inserted, updated and so on... Best thing of all when using operators it makes it much easier to work with and you can have as many time tracker fields as you like, like and expire feature date instead of SQLs that only allows you to have 1 time stamp field per table. By the way when you use time you use an int field and when you want to return a date you can use the date() function just add your format and then the the return unix time stamp. SO keep that in mind even if that is not the error.


Messages In This Thread
Can't get information to insert into database - by El Forum - 05-15-2011, 01:28 PM
Can't get information to insert into database - by El Forum - 05-15-2011, 01:45 PM
Can't get information to insert into database - by El Forum - 05-15-2011, 04:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB