I have written a script to update values in a Database. This works correctly. However when I put this code into another script it doesnt work at all.
The script that I put it into, is a basic script that gets a file contents and does some pattern matching.
Any ideas why my update script doesnt work when i move it to this script?
Thanks
Problems updating DB
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
You gotta post more info:
1. What environment are the two scripts in (server type, PHP version, DB version, folder access)?
2. What is not working in the second that is working in the first.
3. What errors, if any, is PHP generating?
Also, you might want to post some code for your problem. It always helps when we can what is happening in the application itself.
1. What environment are the two scripts in (server type, PHP version, DB version, folder access)?
2. What is not working in the second that is working in the first.
3. What errors, if any, is PHP generating?
Also, you might want to post some code for your problem. It always helps when we can what is happening in the application itself.
-
welsh_sponger
- Forum Newbie
- Posts: 14
- Joined: Fri Feb 03, 2006 7:46 am
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA