File: fwphp/glomodul/oraedoop/export_frm.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/oraedoop/export_frm.php  >  Download  
File: fwphp/glomodul/oraedoop/export_frm.php
Role: Example script
Content type: text/plain
Description: Example script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: ver 7.0.1 mnu, msg, mkd FUNCTIONAL namespaces, CRUD PDO trait, pretty URL-s
Date: 1 month ago
Size: 1,350 bytes
 

Contents

Class file image Download
<!-- // Display export settings form -->
<table class="selectform">
<tr>
   <td align="left">
      Export format:
      <?php $i = 0; foreach ($exportformats as $value => $config) { $i++; ?>
<label><input type="radio" name="export[format]"
          value="<?php echo $value; ?>"
          <?php echo ($value ==
             
$_SESSION['states']->exportformat ? 'checked="checked" ' : '');
         
?>/>
              <?php echo htmlspecialchars($config[ 0 ]); ?>
</label>
      <?php } ?>
</td>
</tr>
<tr>
   <td align="left">
      Record limit:
      <select name="export[limit]"
              title="Select the maximum number of rows to be exported">
         <option value="100" selected="selected">100</option>
         <option value="1000">1000</option>
         <option value="0">Unlimited (Are you sure?)</option>
      </select>
   </td>
</tr>
<tr>
   <td align="left">
      <input type="submit" name="export[doit]" value="Export now" accesskey="n"
             title="Click here to download the export file now [n]" />
      <input type="button" value="Cancel"
      accesskey="c" onClick=
    "location.href='<?php echo $_SERVER[ 'PHP_SELF' ] . '?sid=' . '$sid'; ?>'"
        title="Click here to go back, cancel exporting [c]" />
      <?php echo htmlspecialchars($export_errormsg); ?>
</td>
</tr>
</table>

<?php

For more information send a message to info at phpclasses dot org.