There is a form and when the user clicks "submit", it goes to this page and its supposed to enter the values in the database.
There is other code that I haven't posted here. The above code is supposed to add the values into the database, but nothing happens. When I check the database, there are no entries, also PHP doesnt complain or give any errors or warnings. I have turned both errors and warnings ON. Any suggestions. Im clueless..
Sorry bout the earlier thing, changed directories thinking it might help, but it didnt. Im desperate to try anything. Similar code works fine in other *.php files where I am updating and inserting information and so on. Its just that this wont work... wonder why?
My script works just "Perfect" now, without any changes at all. The problem I believe is something todo with Windows or MySQL server itself. Not sure which one is to blame... but I would say Windows.
I hadnt rebooted my windows XP SP1 computer for this many days. Now I reboot the computer, start my MySQL server, Apache and so on... and the script works. No changes or whatsoever. Totally weird.
Anyway, thanks to all who spent time helping me.
Sami
hey, how do you get that command to work? Is it included with windows xp sp1 or is it a seperate program?
Its a seperate program. You can download it from microsoft's website. Its called uptime. Alternatively, you can also download it from me, here is the link. http://www.i2l2.com/uptime.rar
You will need Winrar 3.x or higher in order to open the file. Winrar can be downloaded from http://www.rarlab.com/
This is embaressing, I had just forgotten the single quotes... I also noticed that pistolfire99 uses single quotes around his NULL value, which I suspect is wrong.