Jump to content


This topic is now archived and is closed to further replies.


I need HELP

Recommended Posts

I\'m getting this warning


Warning: Supplied argument is not a valid MySQL result resource in /home/nas06/u/uscratchmyback.co.uk/user/htdocs/lib/mysql.lib on line 29

script below



if (!$mysq_lib_loaded)



function c(){

global $db_host, $db_login, $db_pswd;


return $db;



function q($q_str){

global $db_name;

$r = mysql($db_name,$q_str);

return $r;



function d($db){

// mysql_close($db);



function e($r)



return 0;

else return 1;



function f($r){

return mysql_fetch_array($r);


function nr($r){

return mysql_num_rows($r);




$rv=q(\"select * from sysvars\");

while($va = f($rv)) {${$va[name]}=$va[value];};



function piurl($url)


if (strstr($url, \"http://\")) $ur=$url; else $ur=$ROOT_HOST.\"pictures/$url\";

return $ur;








Can any one help

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.