Jump to content

Quick Question


Solar

Recommended Posts

<?php
  if ($req_user_info['name'] !=" "){echo "<input type=\"submit\" value=\"Submit\">";
  }
  ?>

I have a code like this. If the "$req_user_info['name'] !=" Nothing here " Then it shows the button.

How can I put an else if in this statement to make it.. "$req_user_info['name'] !="$session->username " Then disable or do not let the button show.

 

Thanks in Advanced.

Link to comment
https://forums.phpfreaks.com/topic/201194-quick-question/
Share on other sites

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.