Skip to content

u/skinnymonkey

In this archive from Sep 2009 to Nov 2022

2
posts
23
comments
0
media
69
score

AskPHP: Help? I have a small script that inserts a time stamp to mysql for each page request... The problem is it inserts is exactly 4 times per query.

The script and query are simple. The fact that i can't figure it out makes me feel like an idiot. Perhaps I've been working too long. The script is as follows: $host = 'localhost'; $user = 'user'; $pass = 'pass'; $database = 'db'; $table = 'table'; $conn = mysql_connect($host,$user,$pass); mysql_sel...

0 points13 comments
Open on Reddit

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.