Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## If / else statements.
- ## In Ruby <3
- var.size > 0 "This item was more than zero!" : "This item is empty :<"
- ## In PHP
- if(mysql_num_rows($var) > 0) {
- return "yeah there are rows";
- } else {
- return "no rows! fail!";
- }
Add Comment
Please, Sign In to add comment