Gallery Caption and Ratings

Started on the old forum in June 2009 · view the original in the archive · old links redirect here

3 replies · 508 views · started 17 years ago · 1 min read

2 participants
Pablo Developer · 164 posts #1

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

Dj-marc Developer · 164 posts #2

here is the code to put in the fun_gallery

`title` varchar(30) NOT NULL,

place this in the gallery to retrieve the caption

$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

      $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

Pablo Developer · 164 posts #3

i always say thanx btro am gonna try it out now

Pablo Developer · 164 posts #4

not working bro

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close