I'm using mysql on win98. When i ran myisamchk it seems that some of the tables didn't get closed. Then about an hour later it was corrupt.
I ran myisamchk just now, and everything seems ok. But is this happening because of user input or because of bad sql syntax?
in my header i open a connection, and in my footer i close the connection on every page. Is this the proper way to do it?