-- к примеру новый ранг = 10
-- id сдвигаемой записи 100500
UPDATE `my_table` SET `ordering` = `ordering` + 1 WHERE `ordering`>=10;
UPDATE `my_table` SET `ordering` = 10 WHERE `id`=100500;
Сайты настолько безобразно написаны, там копипаст обычных html страниц. Никаких php и js скриптов, сплошной html и изображения.
$client = new SoapClient( 'http://new.starliner.ru/modules/trains/soap/test.wsdl', array( 'features' => SOAP_SINGLE_ELEMENT_ARRAYS, 'trace' => 1 ) ); try { $result = $client->trainRoute(array('day'=>'12', 'month' => '12', 'train' => '066А')); } catch (Exception $e) { print $e->getMessage() ."\n"; print $client->__getLastRequest(); print $client->__getLastResponse(); }
Wrong Version <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Ufs" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:TrainRoute><from xsi:type="ns1:ufsTrainRoute"><day xsi:type="xsd:string">12</day><month xsi:type="xsd:string">12</month><train xsi:type="xsd:string">066А</train></from></ns1:TrainRoute></SOAP-ENV:Body></SOAP-ENV:Envelope> <html> <body> <pre style="border: 1px solid black; padding: 8px; background-color: whitesmoke;"> Ошибка 5027: Starliner: Метод "test" в контроллере "SOAP" не найден </pre> </body> </html>
$(this)
.width(width_resized)
.mouseover(function () {
$(this).width(width);
})
.mouseout(function() {
$(this).width(width_resized);
});
RewriteEngine On
RewriteBase /
RewriteRule ^old/document.html$ index.php?page=new_document [L]
RewriteRule ^old/(\w+).html$ index.php?page=new_$1[L]