Jump to content

Need help with if statement, should be easy


Fenhopi

Recommended Posts

First of all, the field that holds prefgender does not say "Not added yet".

 

Yet when I do this, it doesn't echo the info:

   $prefgender = $req_user_info['prefgender'];
	   if(!$prefgender == "Not added yet"){ ?>
          <tr>
            <td>Preferred gender:</td>
            <td><? echo $req_user_info['prefgender'] ?></td>
          </tr>
          <? }

 

Any ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.