View Single Post
  #9 (permalink)  
Old 04-12-2006, 10:26 PM
onemc onemc is offline
New Pligger
 
Join Date: Apr 2006
Posts: 6
Here's a little extra error checking (shouldn't matter but better safe then sorry).

Code:
if(!empty($_REQUEST['tag'])){
  if(!empty($_REQUEST['search'])){
    $mysearch = $_REQUEST['search'];
    $from_where = "FROM links, tags WHERE tag_words='$mysearch' AND link_id=tag_link_id ORDER BY `link_votes` DESC ";
  }
}
Reply With Quote