Created
February 19, 2012 14:40
-
-
Save johnhamelink/1864104 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (SELECT * FROM topics WHERE ( id='$id' AND user_id='$userId')) OR (INSERT INTO topics ('id','userId','name') VALUES ('$id','$userId','$name')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment