Follow me:
Archives
- ajax
- apache
- array
- attachement
- attachementphp
- best practice
- branch
- case
- cmd
- comment
- convert
- css
- csv
- curl
- curl_init
- date
- db
- download
- duplicate
- editor
- encoding
- entities
- error
- export
- form
- git
- htaccess
- html entities
- IDE
- if clause
- imp
- import
- javascript
- jquery
- login
- mcv
- merge
- microtime
- multiple select
- mysql
- NetBeans
- notepad
- outlook
- php
- phpdoc
- phpmyadmin
- posts_per_page
- query_posts
- regex
- request
- rewrite
- se
- serializing
- server
- server variables
- service
- service class
- smarty
- sql
- standards
- string
- superglobals
- text edit
- time
- timestamp
- tools
- update
- utilities
- wkhtmltopdf
- wordpress
- xampp
- zend
Tag Archives: update
Run Update SQL query with if clause
Description: Running an SQL script that performs a update depending on some given conditions. Solution: SQL query can take if clauses in the shape of cases: UPDATE table SET name = case WHEN id = 1 then ‘John’ ELSE null … Continue reading