UPDATES VIA   RSS  |  Email Get updates via feedburner Get updates via twitter
Home

Archive for February 3rd, 2010

SQLite, MySQL, PHP: Ternary operator (IF() statement) in MySQL and SQLite

Posted on 03. Feb, 2010 by .

4

While working on a proxy checker tool for one of my projects, I was struggling on how to execute a conditional query on my SQLite database to update a column only if its value is greater than 0 (it would be pointless in my case to let the script update the column with negative values). [...]

Continue Reading