Jump to content
MakeWebGames

please help me


jimmytubbs

Recommended Posts

hi i want make it show your gender (picture) by your name ive tried it but it doesnt work

if($ir['gender']=male) { $u = "<font color=>{$ir['username']}</font>"; $m="[img=male.gif]"; }
else
{

if($ir['gender']=female) { $u = "<font color=>{$ir['username']}</font>"; "$f='[img=female.gif]'"; }
}

and i have the variables by name as well

im using v2 if that helps :?

cheers jimmytubbs:?

Link to comment
Share on other sites

Re: please help me

 

<?php

if($ir['gender'] == 'Male') { 
    $u = "<font color=>{$ir['username']}</font>"; 
    $m = "[img=male.gif]";
}
else if($ir['gender'] == 'Female') { 
    $u = "<font color=>{$ir['username']}</font>"; 
    $f = "[img=female.gif]";
}

?>

 

Read this:

http://www.php.net/manual/en/language.operators.php

http://www.php.net/manual/en/language.c ... ctures.php

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...