Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
data-networks-web
lab-exercises
Commits
04b774e5
Commit
04b774e5
authored
Aug 07, 2017
by
Sorrel Harriet
Browse files
PLAYS AND WINS WRONG WAY ROUND
parent
5d9e88cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
resit-app/hangman/views/leaderboard.php
View file @
04b774e5
...
...
@@ -47,8 +47,8 @@ if ($row_cnt == 0) {
$content
.
=
"<tr>
<td>"
.
$i
.
"</td>
<td>"
.
$row
[
'player'
]
.
"</td>
<td>"
.
$row
[
'num_wins'
]
.
"</td>
<td>"
.
$row
[
'num_plays'
]
.
"</td>
<td>"
.
$row
[
'num_wins'
]
.
"</td>
<td>"
.
$success
.
"</td>
</tr>"
;
// reference a field value in the array by its key!
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment