Search found 2 matches
- Sun Oct 02, 2011 7:23 am
- Forum: PHP - Code
- Topic: Best way to display an array of items?
- Replies: 1
- Views: 247
Best way to display an array of items?
Hi, I've got a script that queries a MySQL DB, and allows me to recall data by using "mysql_result($result,$i,"name");" for example. I've got multiple pieces of data coming from this, such as "mysql_result($result,$i,"date");". What is the most common way to d...
- Fri Sep 30, 2011 12:54 pm
- Forum: Databases
- Topic: Best way to log IP of user per day?
- Replies: 0
- Views: 1204
Best way to log IP of user per day?
Hi, I'm making a site with the ability to "vote" on something. I want the user to vote once per day, and that code is currently working. I'm struggling to figure out how to stop people voting more than once per day. I could log the IP in a db, then delete it every day, but that could be de...