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
<?php | |
session_start(); | |
if (isset($_SESSION['language'])) { | |
echo '$_SESSION["language"] was set to: ' . $_SESSION['language']; | |
} else { | |
echo '$_SESSION["language"] was NOT set.'; | |
} |
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
<?php | |
$nummer=$_POST['nummer']; | |
// hämtar inmatat värde från första sidan | |
$under50 = array(); | |
$over50 = array(); | |
if (is_numeric($nummer)) | |
{ | |
for($x=1 ; $x <=$nummer; $x++) |
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
var getItemIdFromElement = function($li){ | |
return $li.attr('id').match(/menu-overlay-index-item-id-(\d+)/)[1]; | |
}; |
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
class CreateProducts < ActiveRecord::Migration | |
def self.up | |
create_table :products do |t| | |
t.string :name | |
t.text :description | |
t.timestamps | |
end | |
end | |
http://www.prisjakt.nu/kategori.php?l=s62302968
Sigma 8-16/4,5-5,6
6985:-
DC
http://www.prisjakt.nu/produkt.php?p=613301
http://www.lenstip.com/1832-news-Sigma_8-16_mm_f_4.5-5.6_DC_HSM_-_sample_images.html
Samyang 8/3,5
2785:-
Requires a function getItemIdFromElement($element)
It should take a jQuery collection, and returns an identifier for that element.
getOrder
returns a flat array with object similar to the following.
{
level: 0,
parent: 0,
id: 1
}
NewerOlder