Skip to content

u/pryomancer

In this archive from Mar 2011 to Mar 2012

0
posts
21
comments
0
media
68
score

I won't do your homework for you, but this is the process you'll need.

Make sure the index is index.php not index.html, otherwise you won't get any of the php to work.

You need to connect to the database, select the table you want, then perform your query. The query sounds like you just need a simple select statement.

You need then need to take your variable holding the results from the select statement and loop through it, printing out each row, probably in a table, or just a list depending on what you want.

2 points

Cookies can be cleared, so can html5 local cache, IP isn't reliable etc.

The only truely reliable way is with user accounts, I.E. with some unique record which prevents multiple votes when it's in some state. Without, the best you can do is stop most happening, but some users will easily find a workaround and exploit it.

-1 points

A British company called confused.com, they let you compare quotes from insurance companies to get the 'best' deal (the prices are always bullshit).

They've redesigned their logo a bit now, added some shading and that, but it's still awful.

4 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.