include ("config.php");
// select data from database
$w3db = mysql_query( "SELECT * FROM w3dbx" )
or die("SELECT Error: ".mysql_error());
$worth = mysql_query( "SELECT * FROM worth" )
or die("SELECT Error: ".mysql_error());
$w3db_rows = mysql_query($w3db);
$worth_rows = mysql_query($worth);
// fetching data
//while ($get_infox = mysql_fetch_assoc($resultx) && $get_info = mysql_fetch_assoc($result))
while ($get_w3db = mysql_fetch_array($w3db_rows,MYSQL_ASSOC) && $get_worth = mysql_fetch_array($worth_rows,MYSQL_ASSOC))
{
error :: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource ... line #
please check the code i do not know whats wrong with it seems to be perfect to me but getting error do not why ???