boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Invalid MySQL result resource?

 
Post new topic   Reply to topic    boardom Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
levonde



Joined: 26 Jan 2004
Posts: 1

PostPosted: Tue Feb 10, 2004 3:09 am    Post subject: Invalid MySQL result resource? Reply with quote

Quote:

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/cluttere/public_html/blog.php on line 14



Code:
<html>
<head>
<title>blah</title>
<LINK REL=stylesheet HREF="style.css" TYPE="text/css">
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?> <?php comments_popup_script() ?>
</head>
<body>
<h1>Welcome!</h1></b>
Hi and welcome to version 4 of cluttered.net, Karen's personal domain! This layout features purdy snowberries under very purdy snow. It was created because Karen adores snow and it wouldn't come. After she made this layout, it did come. She's decided she'll be superstitious and believe that she made it come, just for the sake of it. 
The domain will have personal content as well as content for the visitor,
you. I will update as often as possible,
 but I generally will not do so on weekdays. My blog is below. Do read and fix my broken thermometer! <br>
<b><h1>Karen's Blog</h1></b>
<!-- // b2 loop start --><?php while($row = mysql_fetch_object($result)) { start_b2(); ?>


<b><?php the_title(); ?></b><br>
<b><?php the_date("l - F d, Y","",""); ?> </b>
<p align="justify">
<?php the_content(); ?>
<p align="right"> <?php the_author() ?> babbled at <?php the_time() ?><br> [<?php comments_popup_link("Broken Thermometer. Fix it?", "1 degree below zero", "% degrees below zero") ?>]</p>
<BR>
<?php include ("b2comments.php"); ?>
<!-- // this is just the end of the motor - don't touch that line either :) --><?php } ?>


Ehehe. I have no idea what I did. Help?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group