This file contains 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
ALTER TABLE orders_items ADD FOREIGN KEY (orderID) REFERENCES orders(orderID) ON DELETE CASCADE |
This file contains 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
document.getElementsByTagName('input')[0].onkeypress = function(e) { | |
e = e || event | |
var chr = getChar(e) | |
if (!isNumeric(chr) && chr !== null) { | |
return false | |
} | |
} | |
// helper functions | |
function isNumeric(val) { |
This file contains 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
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^ index.php?q=%{REQUEST_URI} [L] | |
// SAU ALTA VARIANTA MAI BUNA PT PHP EASE(17.10.2013) | |
RewriteEngine on |
NewerOlder