Not showing nulls.....HELP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

melindaSA
Forum Commoner
Posts: 99
Joined: Thu Oct 02, 2003 7:34 am

Post by melindaSA »

Thank you all for the help, but I need more :oops: :

Basically what I am trying to do is pull the board_certification_name from the database for the board-certification_ID. So I have the function working, (function get_board_certification_name). But I now need to call this function in the display_physicians_details function, and I seem to have a dead brain, I have tried all different ways to do this, and I either get a blank page, or nothing happens.

How do I do this??
melindaSA
Forum Commoner
Posts: 99
Joined: Thu Oct 02, 2003 7:34 am

Post by melindaSA »

:D

Got it to work!!! by doing the following:

Code: Select all

<?php
$spe_array=get_specialty();
             foreach ($spe_array as $thisspecialty)
             {

    if ($thisspecialty['specialty_ID'] == $physicians['specialty_ID'])

                  echo $thisspecialty['specialty'];

               }

?>
Post Reply