status option as image

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

8 replies · 654 views · started 17 years ago · 1 min read

4 participants
sharil Junior · 44 posts #1

i have made a status for the user...

$nen = mysql_fetch_array(mysql_query("SELECT status FROM ibwf_users WHERE id='".$uid."'"));
echo "Status: <br/><select name=\"mar\" value=\"$nen[0]\">";
echo "<option value=\"married\">married</option>";
echo "<option value=\"single\">single</option>";
echo "<option value=\"divorce\">divorce</option>";
echo "</select><br/>";

my problem is, how to make a status that i have selected,for example single, will be appear as images on profile?can someone help me?;(

-PeaCe-

sharil Junior · 44 posts #3

Can u give me y0ur c0de? I d0nt think that w0rk f0r the option selecti0n.. Or u have an0ther way d0ing it?

-PeaCe-

Pablo Developer · 164 posts #4

yow may have to create a function

sharil Junior · 44 posts #5

What kind of functi0n? Can u give it t0 me?

-PeaCe-

Pablo Developer · 164 posts #6

yeah am trying to think of an idea

sharil Junior · 44 posts #7

Anyone can help me t0 solve dis pr0blem?

-PeaCe-

sharil Junior · 44 posts #9

Shad0w, that my full c0de.. I d0nt have $acti0n c0de.. S0ry, im new c0der..So, there are alot of things that i d0nt kn0w..If u kn0w h0w to d0 it, u can p0st it here..

-PeaCe-

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