All pastes #462702 Raw Edit

Unnamed

public text v1 · immutable
#462702 ·published 2007-04-28 13:56 UTC
rendered paste body
<?php require_once('Connections/Turner_1.php'); ?>
<?php
$Seach_results_find = clone($Turner_1);
$Seach_results_find->layout = 'Web';
$Seach_results_findCriterions = array('Type'=>$_POST['select'],);
foreach($Seach_results_findCriterions as $key=>$value) {
    $Seach_results_find->AddDBParam($key,$value);
}

fmsSetPage($Seach_results_find,'Seach_results',10); 

$Seach_results_result = $Seach_results_find->FMFind(); 

fmsSetLastPage($Seach_results_result,'Seach_results',10); 

$Seach_results_row = current($Seach_results_result['data']);
$Seach_results_row_key = key($Seach_results_result['data']);

 
 // FMStudioFX v1.0 - do not remove comment, needed for DreamWeaver support ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Search</title>
</head>

<body>
</body>
<table name="search_table" style="background-color: #000000; " cellspacing="1" width="400">
  <tr>
    <th style="background-color: #EEEEEE;">Item #</th>
    <th style="background-color: #EEEEEE;">Feature_Spec</th></tr>
  <?php foreach($Seach_results_result['data'] as $Seach_results_row_key=>$Seach_results_row){ ?>
  <tr>
    <td style="background-color: #FFFFFF;"><?php echo $Seach_results_row['Item #'][0]; ?></td>
    <td style="background-color: #FFFFFF;"><?php echo $Seach_results_row['Feature_Spec'][0]; ?></td></tr>
  <?php } ?>
</table>
</html>