Zedric
NTFS Guru
- Joined
- 12 Jan 2002
- Messages
- 4,006
I think my PHP/mySQL is drunk... It's seeing double. I can't use phpMyAdmin since any SQL request I do (remove data, insert data, edit data) in a form will be doubled when submitted. I also found this problem when I installed phpBB. I added the attachment mod in order to attach files. Then I tried it. I wrote a post and attached a file (somewhat different procedure to this forum). The file showed as two files. I pressed Preview to look at the post. The posted showed the file four times inline. I pressed Submit. The post now had eight (!!) attached files inline. There was however just one post.
It seems the problem occurs when information in a form is submitted and used with the database.
WTF is this? I've tried reinstalling PHP and mySQL using apt-get, but it doesn't help.
The machine is the server in my sig (Zoidberg):
PHP 4.2.2
mySQL 3.23.56
Apache 2.0.40
Help?
It seems the problem occurs when information in a form is submitted and used with the database.
WTF is this? I've tried reinstalling PHP and mySQL using apt-get, but it doesn't help.
The machine is the server in my sig (Zoidberg):
PHP 4.2.2
mySQL 3.23.56
Apache 2.0.40
Help?