phpプログラマーを目指せ

背景
投稿者投稿者balance kenいいね7お気に入り登録1
プレイ回数8403難易度(3.8) 935打 長文
タグphp
phpの構文と日本語の混在
順位 名前 スコア 称号 打鍵/秒 正誤率 時間(秒) 打鍵数 ミス 問題 日付
1 asafumi 1782 F 2.0 89.7% 464.5 935 107 46 2024/03/26
2 美の巨人 713 G 0.8 83.4% 1050.5 935 185 46 2024/02/16

関連タイピング

問題文

ふりがな非表示 ふりがな表示

(<?php)

<?php

($res = ””;)

$res = "";

($user= ’root’;)

$USER= 'root';

($pw= ’dai’;)

$PW= 'dai';

($dnsinfo=)

$dnsinfo=

(”mysql:dbname=salesmanagement;host=localhos)

"mysql:dbname=salesmanagement;host=l

(t;charset=utf8”;)

t;charset=utf8";

($pdo = new pdo($dnsinfo,$user,$pw);)

$pdo = new PDO($dnsinfo,$USER,$PW);

(if(isset($_post[’update’])){)

if(isset($_POST['update'])){

(try{)

try{

($sql = ”select * from goods where)

$sql = "SELECT * FROM goods WHERE

(goodsid=?”;)

GoodsID=?";

($stmt = $pdo->prepare($sql);)

$stmt = $pdo->prepare($sql);

($array = array($_post[’id’]);)

$array = array($_POST['id']);

($row = $stmt->fetch(pdo::fetch_assoc);)

$row = $stmt->fetch(PDO::FETCH_ASSOC

($goodsid = $row[’goodsid’];)

$GoodsID = $row['GoodsID'];

($goodsname = $row[’goodsname’];)

$GoodsName = $row['GoodsName'];

($price = $row[’price’];)

$Price = $row['Price'];

(}catch(exception $e){)

}catch(Exception $e){

($res = $e->getmessage();)

$res = $e->getMessage();

など

(})

}

(})

}

(try{)

try{

($sql = ”select * from goods”;)

$sql = "SELECT * FROM goods";

($stmt = $pdo->prepare($sql);)

$stmt = $pdo->prepare($sql);

($array = null;)

$array = null;

($stmt->execute($array);)

$stmt->execute($array);

($res = ”<table>¥n”;)

$res = "<table>\n";

(while($row =)

while($row =

($stmt->fetch(pdo::fetch_assoc)){)

$stmt->fetch(PDO::FETCH_ASSOC)){

($res .= ”<tr><td>” .$row[’goodsid’])

$res .= "<tr><td>" .$row['GoodsID']

(.”</td><td>” .$row[’goodsname’] .”</td>”;)

."</td><td>" .$row['GoodsName'] ."</

($res .= <<<eof)

$res .= <<<eof

(<td><form method=’post’ action=’’>)

<td><form method='post' action=''>

(<input type=’hidden’ name=’id’)

<input type='hidden' name='id'

(value=’{$row[’goodsid’]}’>)

value='{$row['GoodsID']}'>

(<input type=’submit’ name=’update’ value=’text’>)

<input type='submit' name='update' v

(</form></td>)

</form></td>

(eof;)

eof;

($res .= ”</tr>¥n”;)

$res .= "</tr>\n";

(})

}

($res .= ”</table>¥n”;)

$res .= "</table>\n";

(}catch(exception $e){)

}catch(Exception $e){

($res = $e->getmessage();)

$res = $e->getMessage();

(})

}

(?>)

?>

問題文を全て表示 一部のみ表示 誤字・脱字等の報告

◆コメントを投稿

※誹謗中傷、公序良俗に反するコメント、歌詞の投稿、無関係な宣伝行為は禁止です。

※このゲームにコメントするにはログインが必要です。

※コメントは日本語で投稿してください。

※歌詞は投稿しないでください!