Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 07:45 pm EST

Geeklog Forums

DB_fetchArray loses return value


root_42

Anonymous
I'm getting 1064 errors in moderation.php and tracked down the source of the error to a call of DB_fetchArray which seems to return nothing. Though inside this function _DB->dbFetchArray returns a nice array. But upon returning to the calling function in moderation.php that array is suddenly empty. HELP!!
 Quote

root_42

Anonymous
I've even upgraded to mysql 3.23.50 (or whatever) now, but it still does not work. Anyone got an idea?
 Quote

root_42

Anonymous
It turned out, that in the main program of moderation.php the $id value of the POST method did not get passed through. I had to explicitly us $_POST['id'] to get it's value. Can someone tell me why? Thanks.
 Quote

Status: offline

ScottMcW

Forum User
Chatty
Registered: 09/22/02
Posts: 42
Can you tell me where you made your edit in moderation.php? I'm getting the same error. Thanks! Scott
 Quote

All times are EST. The time is now 07:45 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content