Hello,
When I insert a new record in the database and I need to record a time, I usually do this:
INSERT INTO table1 (field1, time) VALUES ('string', NOW())
The problem with NOW() is that it returns the local time of the server, whereas I want the GMT
I understand that with MySQL5 you can...
I've noticed that MYSQL is not using indexes when the operators "<" or ">" are used in the SELECT query; For example:
SELECT firstname
FROM users
WHERE birthyear < 1969
Now, birthyear is of type "int" and is indexed. However the EXPLAIN statement shows that all rows are examined!
Can anyone...
Does anybody know if there is a way of preventing the browser from adding the current page to its history?
I explain: I have a page that keeps loading itself every time the user make changes to it (like deleting a record displayed on the page). Now the user could potentially make several...
Does anybody know if there is a way of preventing the browser from adding the current page to its history?
I explain: I have a page that keeps loading itself every time the user make changes to it (like deleting a record displayed on the page). Now the user could potentially make several...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.