SELECT myField FROM ...
вместо SELECT *
isset($_POST["action"]) && !empty($_POST["action"])
- избыточная конструкция, достаточно !empty($_POST["action"])
в empty() как-бы свой встроенный isset().var fso = new ActiveXObject("Scripting.FileSystemObject");
var filePath = "C:\\test\\123.ogg";
function doSomething() {
WScript.Echo("Файл " + filePath + " существует.");
// Your code here
}
while(true) {
if (fso.FileExists(filePath)) doSomething();
WScript.Sleep(3000); // 3 sec
}
<li data-id="id3">поле3</li>
var text = $('li').text()
var id = $('li').data('id')
update product set price = price * 1.3
mysql_query('SELECT * FROM news') or die(mysql_error());
var myWindow = window.open("", "", "height=600,width=800,scrollbars=1,location=no,menubar=no,resizable=1,status=no,toolbar=no");
myWindow.document.write("Hello world!");