Changeset 35

Show
Ignore:
Timestamp:
03/10/06 14:26:11 (2 years ago)
Author:
eadiaz
Message:

Fix ticket #4.
error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group by p.title,p.content,p.date_posted,p.category,p.url,p.subm

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/public_html/tag_meme.php

    r2 r35  
    44  $memes = new memes($bm_db, $bm_user); 
    55  if (!empty($_POST)) { 
     6          $meme_id = $_POST['meme_id']; 
     7          $tags = $_POST['tags']; 
    68          $memes->post_tags($meme_id, $bm_user, $tags); 
     9  } 
     10  else 
     11  { 
     12          $meme_id = $_GET['meme_id']; 
    713  } 
    814  $meme = $memes->get_meme($meme_id);