View Single Post
  #2 (permalink)  
Old 27-02-2008, 21:45
DavidAllen's Avatar
DavidAllen DavidAllen is offline
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 346
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

Doesn't look wrong - are you sure it's the SQL Server that's the problem? The error suggests that the SQL Server call didn't return a result set. I assume if you have something like
Code:
$result = mysql_query($recent_sql, $link_id) or die('Query failed: ' . mysql_error().'<br>'.$query);
$row = mysql_fetch_row($result) or die(mysql_error());
that would tell you more about the problem - I'm guessing it's either a field/table name issue or the $link_id.
__________________
David Allen -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote