検索ワード: printreturncode (英語 - ドイツ語)

コンピュータによる翻訳

人が翻訳した例文から、翻訳方法を学びます。

English

German

情報

English

printreturncode

German

 

から: 機械翻訳
よりよい翻訳の提案
品質:

人による翻訳

プロの翻訳者、企業、ウェブページから自由に利用できる翻訳レポジトリまで。

翻訳の追加

英語

ドイツ語

情報

英語

printreturncode ($stmt);

ドイツ語

printreturncode($stmt);

最終更新: 2018-02-13
使用頻度: 1
品質:

英語

?php / / function which prints a formatted error message, / / displaying a pointer to the syntax error in the / / sql statement function printreturncode ($exec_str) {$err = sesam_diagnostic(); $colspan=4; / / 4 cols for: sqlstate, errlin, errcol, rowcount if ($err["errlin"] == -1) --$colspan; if ($err["errcol"] == -1) --$colspan; if ($err["rowcount"] == 0) --$colspan; echo "table border \n"; echo" tr th colspan=".$colspan. "font color=red error: / font". htmlspecialchars($err["errmsg"]). "/ th / tr \n"; if ($err["errcol"] = 0) {echo" tr td colspan=".$colspan. "pre \n"; $errstmt = $exec_str ."\n"; for ($lin=0; $errstmt != ""; ++$lin) {if ($lin != $err["errlin"]) {/ / $lin is less or greater than errlin if (!($i = strchr ($errstmt, "\n"))) $i =""; $line = substr ($errstmt, 0, strlen($errstmt)-strlen($i)+1); $errstmt = substr($i, 1); if ($line != "\n") print htmlspecialchars ($line);} else {if (! ($i = strchr ($errstmt, "\n"))) $i = ""; $line = substr ($errstmt, 0, strlen ($errstmt)-strlen($i)+1); $errstmt = substr($i, 1); for ($col=0; $col $err["errcol"]; ++$col) echo (substr($line, $col, 1) == "\t")? "\t": "."; echo" font color=red blink\\ / blink / font \n"; print "font color=\"#880000\" ".htmlspecialchars($line). "/ font"; for ($col=0; $col $err["errcol"]; ++$col) echo (substr ($line, $col, 1) == "\t")? "\t ":" ."; echo "font color=red blink / / blink / font \n";}} echo" / pre / td / tr \n";} echo "tr \n"; echo" td sqlstate= ". $err["sqlstate"]." / td \n"; if ($err["errlin"] != -1) echo "td errlin=". $err["errlin"]. "/ td \n"; if ($err["errcol"] != -1) echo" td errcol= ". $err["errcol"]." / td \n"; if ($err["rowcount"] != 0) echo "td rowcount=". $err["rowcount"]. "/ td \n"; echo" / tr \n"; echo "/ table \n";} if (!sesam_connect ("mycatalog", "phoneno", "otto")) die ("cannot connect"); $stmt = "select * from phone\n"." where@ lastname='kraemer'\n". "order by firstname"; if (!($result = sesam_query ($stmt))) printreturncode ($stmt);?

ドイツ語

?php / / function which prints a formatted error message, / / displaying a pointer to the syntax error in the / / sql statement function printreturncode( $exec_str) {$err = sesam_diagnostic(); $colspan=4; / / 4 cols for: sqlstate, errlin, errcol, rowcount if ($err["errlin"] == -1) --$colspan; if ($err["errcol"] == -1) --$colspan; if ($err["rowcount"] == 0) --$colspan; echo "table border \n"; echo" tr th colspan=".$colspan. "font color=red error: / font". htmlspecialchars($err["errmsg"]). "/ th / tr \n"; if ($err["errcol"] = 0) {echo" tr td colspan=".$colspan. "pre \n"; $errstmt = $exec_str ."\n"; for ($lin=0; $errstmt != ""; ++$lin) {if ($lin != $err["errlin"]) {/ / $lin is less or greater than errlin if (! ($i = strchr($errstmt, "\n"))) $i =""; $line = substr($errstmt, 0, strlen($errstmt)-strlen($i)+1); $errstmt = substr($i, 1); if ($line != "\n") print htmlspecialchars($line);} else {if (! ($i = strchr($errstmt, "\n"))) $i = ""; $line = substr($errstmt, 0, strlen($errstmt)-strlen($i)+1); $errstmt = substr($i, 1); for ($col=0; $col $err["errcol"]; ++$col) echo (substr($line, $col, 1) == "\t")? "\t": "."; echo" font color=red blink\\ / blink / font \n"; print "font color=\"#880000\" ".htmlspecialchars($line). "/ font"; for ($col=0; $col $err["errcol"]; ++$col) echo (substr($line, $col, 1) == "\t")? "\t ":" ."; echo "font color=red blink / / blink / font \n";}} echo" / pre / td / tr \n";} echo "tr \n"; echo" td sqlstate= ". $err["sqlstate"]." / td \n"; if ($err["errlin"] != -1) echo "td errlin=". $err["errlin"]. "/ td \n"; if ($err["errcol"] != -1) echo" td errcol= ". $err["errcol"]." / td \n"; if ($err["rowcount"] != 0) echo "td rowcount=". $err["rowcount"]. "/ td \n"; echo" / tr \n"; echo "/ table \n";} if (!sesam_connect("mycatalog", "phoneno", "otto")) die("cannot connect"); $stmt = "select * from phone\n"." where@ lastname='kraemer'\n". "order by firstname"; if (! ($result = sesam_query($stmt))) printreturncode($stmt);?

最終更新: 2011-10-24
使用頻度: 1
品質:

警告:見えない HTML フォーマットが含まれています

人による翻訳を得て
7,763,090,150 より良い訳文を手にいれましょう

ユーザーが協力を求めています。



ユーザー体験を向上させるために Cookie を使用しています。弊社サイトを引き続きご利用いただくことで、Cookie の使用に同意していただくことになります。 詳細。 OK