Profile
Achievement
apphp-snippets's Recent SQL Snippets
- All /
« Prev 1 Next »
This snippet allows you to insert new record into table. In case a unique key already exists - it updates appropriate fields only, leaving other fields untouched.
0
942
posted 6 years ago by apphp-snippets
Here you may find some useful snippets for calculating relative time for different purposes: to get info from a column within certain date, like the latest 7 days, to get time interval etc.
0
701
posted 9 years ago by apphp-snippets