Skip to content

Instantly share code, notes, and snippets.

View hamedqaderi's full-sized avatar

Hamed Qaderi hamedqaderi

  • Sanandaj, Kurdestan, Iran
View GitHub Profile
::-webkit-input-placeholder {
color: white;
}
:-moz-placeholder { /* Firefox 18- */
color: white;
}
::-moz-placeholder { /* Firefox 19+ */
color: white;
<!doctype html>
<html>
<head>
<title>Document</title>
<link src="css/style.css" rel="stylesheet">
</head>
<body>
<header>
<div class="container">
...
SELECT food.id as id, food.name as name, images.name as image_name
FROM images INNER JOIN food
ON food_id = food.id
GROUP BY food_id
ORDER BY food.id DESC
LIMIT 6';
SELECT food.id as id, food.name as name, images.name as image_name
FROM images INNER JOIN food
ON food_id = food.id
GROUP BY food_id
ORDER BY food.id DESC
LIMIT 6';
@hamedqaderi
hamedqaderi / 1.php
Last active December 20, 2015 23:09
<?php
$i = 0;
for( $i = 0; $i < 10; $i++ ) {
echo $i;
}
function name($m) {
return m * 2;
}
?>