Multiple Call To Includes

A

Anonymous

Guest
well without the php no, there must be contradictory information in them as usually multiple includes will not do anything as all they do is copy and paste the pages into the target page
 
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/thesatir/public_html/home.php on line 77

Post probably its in the in.php file... thrtr must be some error in the SQL query and it has not been outputed... i suggest you put
Code:
or die(mysql_error());

there for debugging.

We will need to see the code to be able to help you out more.
 
not the html the php, copy/paste them so you have them both as .php and .phps and link us to the .phps then we will be able to give you accurate advice
 
it is a .phps which is the general filename used for php source files because, since it isn't .php the server won't process it meaning it displays the source
 
In your basics.php and in.php files, make sure there's no blank/empty line after the php code block.
I know it may sounds stupid, but sometimes it's really the reason for this headers' errors.
 
Line 65 in your in.php file:
Code:
$result2  = mysql_query($query2);
replace with
Code:
$result2  = mysql_query($query2) or die ("Error on line ".__LINE__." in ".__FILE__.": ".mysql_error());

The problem in incorrect query i would guess as it is there where everything is crashing

you may do the following for all such lines of code
 
Back
Top