예제 #1
0
<?php

include 'classes/connection.class.php';
include 'classes/event.class.php';
$event_id = isset($_GET['event_id']) ? (int) $_GET['event_id'] : '';
$objevent = new event();
$objevent->setEventID($event_id);
$views = $objevent->viewEvent();
/*echo '<pre>';
print_r($views);
echo '</pre>';*/
foreach ($views as $value) {
    ?>
<form name="form1" method="post" action="process/process_update_event.php">
  <table class="table" width="669" border="1">
    <tbody>
      <tr>
        <th colspan="2" scope="row">Please Edit Event</th>
      </tr>
      <tr>
        <th scope="row">Title</th>
        <td>
		<input type="text" name="title" value="
		<?php 
    echo $value['event_title'];
    ?>
"/>		
		
        
      </tr>
      <tr>