Ok now Im just plain confused....
Ive got a script which lists some simple stuff from a database...
Now in a table in the database Ive got a table which has got a field called `imp`.
This imp field holds a number which for example is 100 for all of the records.
Now for some reason every time I refresh or access my script that number is deducted by 1 - it updates every single recored in that table by deducting one.
Now the strange part - There are no update queries or anything like that in my script. Also I am not including any files which could be doing it...
I have even gone as far as putt comments (//) infront of all my database queries and yet it still happens.
This is just beyond me and Im confused to say the least...
Strange... I cant find anything which would make it update...
Comments
Not only does it update my database on that script but also on a script which I created about a month ago - again which has no database interaction apart from queries.
I also put die(); at the top of my script which would mean none of the rest would be processed... and yet still - it updated the database
Anyone got any possible explanations
The Royal Ram
Webmaster-Talk.com
Chroder.com
Photoshop Tutorials- Coming soon
Premium PHP Scripts- Coming soon
Haha i should really do some work so i can remove all the coming soon's
I have never heard of this happening before and it's never happened to me.
The only things I can think of would be a code error, which you pretty much ruled out, a problem with the server setup or someone has hacked your hosting account, but then they'd need to know when you run the script.
Current project: CMS Object.
Most recent change: Theme support is up and running... So long as I use my theme resource loaders instead of that in the Rails plug-in.
Release date: NEVER!!!