Gallery Caption and Ratings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Gallery Caption and Ratings

    can u tell me how to put this in the photo gallery when a member upload there photo i want them to can edit there caption and the ratings show under the pic as well as the caption

    #2
    here is the code to put in the fun_gallery
    PHP Code:
    `titlevarchar(30NOT NULL
    place this in the gallery to retrieve the caption
    PHP Code:
    $cap mysql_fetch_array(mysql_query("SELECT title FROM fun_gallery WHERE id='".$id."'"));
    echo 
    "Photo Caption: <u><b>$cap[0]</b></u><br/>"
    replace the old code in genproc.php wher action=addgal
    PHP Code:
          $res mysql_query("INSERT INTO fun_gallery SET uid='".$uid."', title='".mysql_escape_string($viname)."', itemurl='".$itemurl."', sex='".$usex."'"); 
    try working out the rest of it and i would aappreciate if you say thanks

    WapCHAT Forum Currenltly changing over to xhtml

    My Dowloads Site

    Comment


      #3
      i always say thanx btro am gonna try it out now

      Comment


        #4
        not working bro

        Comment

        Working...
        X