English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I can't modify the value in the database. It says the database was updated but I don't see any changes on the database.

I'm not the creator of this php codes. So, I can't solve this problem. Take a look at the below link. It's a part of the php codes. Please guide me to solve this problem. I know that you can guide me to the correct way because I have no idea to solve it.
http://www.freephotosgallery.com/part-of-php-codes.txt

I'm looking forward to read your suggestions.
Thank you so much.

2006-08-25 08:06:07 · 3 answers · asked by gbbhoho 2 in Computers & Internet Programming & Design

3 answers

You have to provide more info than this.... The problem could be in many places besides the code you posted. How are you looking to "see any changes on the database"? How does it say "the database was updated?" If I had to guess at this point, I'd say the problem is in your function parameters $photo='', $salepage='' -- these probably should be just $photo, $salepage.

2006-08-25 08:37:37 · answer #1 · answered by cdg1111us 2 · 0 0

i didn't see the code, but check if u opened the connection with database with auto commit or not, so maybe u need to commit the update/delete/insert.. so check , for insert also, if not work also, so its seem to be commit problem, if no , then u cand make exception to take the error number, maybe there is lock record, or consitraint as forighn/primary keys...

2006-08-25 15:13:44 · answer #2 · answered by gandalf 4 · 0 0

do you call this function Update with proper arguments. please give some further information


updated:: Did you get phpMyAdmin with your webhosting?? If so, try to change it through that.

2006-08-25 15:14:26 · answer #3 · answered by cHORPO 2 · 0 0

fedest.com, questions and answers