Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Fernando Alls  >  PHP Editor  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: interface
Class: PHP Editor
Store in MySQL HTML content edited on the browser
Author: By
Last change:
Date: 2012-06-20 13:28
Size: 570 bytes
 

Contents

Class file image Download
<html>
<head>
    <title>Editor PHP by Fernando</title>
</head>
<body>

<?php
require_once('core.class.php');
$editor = new Editor();
$editor->listAll();
?>

 <table border="1">
 <?php
  
while($list mysql_fetch_object($editor->Command))
  {
  
?>
  <tr>
    <td colspan="3">File name:</td>
  </tr>
  <tr>
    <td>
    <?php
      
echo substr($list->content020) . "...";
      echo 
"<td><a href=editor.php?edit={$list->id} >Edit</a></td>";
      echo 
"<td><a href=editor.php?delete={$list->id} >Delete</a></td>";
    
?>
    </td>
  </tr>
  <?php
   
}
   
?>
  
 </table>

</body>
</html>