www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] display

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Location
    California
    Posts
    383

    resolved [RESOLVED] display

    The inp is an input box. What I'm looking for is to not have to write the if login statement twice .... I tried to bring it together in one string but the inp box is still being displayed when it's not suppose too. any help would be great.


    PHP Code:
    <tr><td>
    <?php
    if (login::$arre_company == 'APS') echo lookup_link('* Trainer''aps_trainer''id&first&last');?></td>
       
    <td><?php if (login::$arre_company == 'APS'inp('id')?></td>
    </td>
    </tr>

  2. #2
    Join Date
    Jun 2011
    Location
    California
    Posts
    383
    PHP Code:
    <?php
    if (login::$arre_company == 'APS')
        { echo 
    lookup_link('* Trainer''aps_trainer''id&first&last');}  { echo inp('id'); 
        }
        
    ?>

    So i guess i just need to figure out how to wrap the html <tr> and <td> inside this script....

    i need one row and two td's

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles