php - how to post database fetch values from one page to anthor page using HTML table -


in code

"<td align="left"><a href="admin_order_update.php">' .$row['o_id'] .'</a></td>" 

i generate multiple o_id when click on other particular o_id o_id post other page , on behalf can access o_id in multiple pages m trying use hidden type not working other process post value other page.... possible send please me....
, 1 more thing using hidden type not working how it's work post value 1 page other page using html in php tag....

$sql1 = " select count(status) count bill_generation_request hotel_id = '$hid' , status ='yes'";  $result = mysql_query($sql1);          while ($row = mysql_fetch_array($result))     {     $count = $row['count'];     }   echo '<table align="center" cellspacing="0" cellpadding="5" width="0%" border="1"> <tr>                 <td align="left"><b>bill request count</b></td>';     echo '<td align="left">' .$count . '</td> ';  echo '</tr>';  echo '</table>'; echo '<table align="center" cellspacing="0" cellpadding="5" width="75%" border="1">  <tr>  <td align="left"><b>order number</b></td>  <td align="left"><b>table number</b></td>  <td align="left"><b>item count</b></td>  <td align="left"><b>order time</b></td>  <td align="left"><b>total amount</b></td>  <td align="left"><b>order note</b></td>  <td align="left"><b>note</b></td>  </tr> '; $i=0; while ($row = mysql_fetch_array($res))     {            $oid = $row['o_id'];      echo '<tr bgcolor="' . $bg . '">          <td align="left"><a href="admin_order_update.php">' .$row['o_id'] .'</a></td>          <td align="left">' . $row['tableid'] . '</td>          <td align="left">' . $row['total_count'] . '</td>          <td align="left">' .$row['time'] . '</td>          <td align="left">' .$row['amount'] . '</td>          <td align="left">' .$row['onote'] . '</td>          <td align="left">' .$row['note'] . '</td>          </tr>';      $i++;     }   echo '</table>';   mysql_close($con); 

try

$id = $row['o_id']; <td align="left"><a href="admin_order_update.php?id=$id">' .$row['o_id'] .'</a></td> 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -