Author: Gordon Milcham
-
Avis Petra et Juan
Two of my favorite people.
-
Los Rolling Stones. Guía para Dummies.
No tú. Otros dummies.
-
Update Mysql table
This will update data in a MySQL table whether is empty or not. UPDATE artists SET city = ‘Los Angeles’ WHERE city=’Sydney’ In this case Sydney will be replaced by Los Angeles.
-
Format 1000 to 1K and trim result to one decimal using PHP
In web design sometimes it’s neccesary to keep things short, so large numbers have to be trimmed for display. The following simple code will format any number > to 1000 to its 1K version and will limit decimals to 2 digits. $shares = $this->page->shares; $shares2 = $shares / 1000; if ($shares < 1000) { echo…
-
Showing conditional divs using php and if/else statements
If you want to show some divs instead of others on a website IF some condition is met you can use the following piece of code: php if ($artist_id == “1980”) { ?> Some data php } else { ?> Some other data <? } ?> The data and the whole layout can be different,…
-
Luminis
There was beautiful light in that building.
-
Labores Solis
Believe it or not, it works.
-
Adriana
After three days playing an online game called Friend$tock I decided to request the friendship (that’s how it’s called contacting someone in Facebook) of a girl whose picture fascinated me. Her name is Adriana Zuniga and she lives in Sydney, Australia. Friend$tock is a game in which people are stocks and their value goes up…
-
Nothing
Yesterday I walked down to Tropicana Avenue and bought some tobacco to roll. Later I spent some time inside a supermarket and bought four pounds of grounded beef, lettuce and rice. On the way back some guy pulled half his body out of a truck and screamed “FUCK YOU” at the top of his lungs.…