|
Short story / fix ..
simply change "sql_error" , "sql_fetch_array" or "sql_query" to
"mysql_error", "mysql_fetch_array" and "mysql_query"
The long story
The original authors of phplinks, on which newphplinks links was based.. upon which dewphplinks was based.. apparently weren't sure if MySQL would be around very long, so they put many of the database related stuff in wrapper functions.
I myself am not a big fan of this method.. creating a new function that simply executes an existing/native function.. seems a bit wasteful to me, so I avoided calling the functions, and slowing converted some of the new wrapper function calls to standard native functions.
Finally.. when I thought I had replaced all the native wrapper function calls, I removed the wrapper function.... except in this case I missed at least one of the function calls.
|