Forums

This topic is locked

multiple delete in database

Posted 12 Feb 2004 20:17:28
1
has voted
12 Feb 2004 20:17:28 jean-luc enzo posted:
Hi there,
I need to reset to 0 the value of a field named "visit" for all the records of a mysql table, just with one form. Is it possible?
Any idee very welcome...!

Thanks.


leForban

Replies

Replied 16 Feb 2004 01:24:52
16 Feb 2004 01:24:52 Phil Shevlin replied:
You just need to send a sql statment to to DB when the page loads...

UPDATE myTable SET visit = 0
Replied 16 Feb 2004 08:00:56
16 Feb 2004 08:00:56 jean-luc enzo replied:
thanks a lot
i found this code too but with hard work...!
i'm newby with mysql.
thanks again.


leForban

Reply to this topic