Okay there are two files involved here. First is my index.php file:

$params = array('class' => 'text10', 'content' => 'Query_Database( $category
)');

switch ( $mode ) {
        
    case "list":
        
        Make_TR( $params ); // This is executing the included function.
        break;
            
    default:
        Display_Default();
        
}



Then there's the function that's located elsewhere in an include file:


<?PHP

function Make_TR ( $params ) {

  ( $params["class"] ) ? $class = "class=" . $params["class"] : $class = "";
  ( $params["content"] ) ? $content = $params["content"] : $content = "";

?>

<tr>
  <td width="535" <?PHP echo $class;?>>
    <div align="left">
      <br>
      <?PHP echo $content;?><br>
      <br>
    </div>
  </td>
</tr>

<?PHP

}

?>



Christopher  <-- Still has no solution :-(


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to