Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php endif endforeach endwhile

<table>
<? while ($record = mysql_fetch_assoc($rs)): ?>
    <? if (!$record['deleted']): ?>
        <tr>
        <? foreach ($display_fields as $field): ?>
            <td><?= $record[$field] ?></td>
        <? endforeach; ?>
        <td>
        <select name="action" onChange="submit">
        <? foreach ($actions as $action): ?>
            <option value="<?= $action ?>"><?= $action ?>
        <? endforeach; ?>
        </td>
        </tr>
    <? else: ?>
         <tr><td colspan="<?= array_count($display_fields) ?>"><i>record <?= $record['id'] ?> has been deleted</i></td></tr>
    <? endif; ?>
<? endwhile; ?>
</table>
Comment

php endif endforeach endwhile

<table>
<? while ($record = mysql_fetch_assoc($rs)): ?>
    <? if (!$record['deleted']): ?>
        <tr>
        <? foreach ($display_fields as $field): ?>
            <td><?= $record[$field] ?></td>
        <? endforeach; ?>
        <td>
        <select name="action" onChange="submit">
        <? foreach ($actions as $action): ?>
            <option value="<?= $action ?>"><?= $action ?>
        <? endforeach; ?>
        </td>
        </tr>
    <? else: ?>
         <tr><td colspan="<?= array_count($display_fields) ?>"><i>record <?= $record['id'] ?> has been deleted</i></td></tr>
    <? endif; ?>
<? endwhile; ?>
</table>
Comment

php endif endforeach endwhile

<table>
<? while ($record = mysql_fetch_assoc($rs)): ?>
    <? if (!$record['deleted']): ?>
        <tr>
        <? foreach ($display_fields as $field): ?>
            <td><?= $record[$field] ?></td>
        <? endforeach; ?>
        <td>
        <select name="action" onChange="submit">
        <? foreach ($actions as $action): ?>
            <option value="<?= $action ?>"><?= $action ?>
        <? endforeach; ?>
        </td>
        </tr>
    <? else: ?>
         <tr><td colspan="<?= array_count($display_fields) ?>"><i>record <?= $record['id'] ?> has been deleted</i></td></tr>
    <? endif; ?>
<? endwhile; ?>
</table>
Comment

PREVIOUS NEXT
Code Example
Php :: laravel-filemanager 404 error 
Php :: AUTO TRANSFER OF DATA FROM SYBASE TABLE TO PHPMYSQL TABLE 
Php :: Ciclo for PHP ejemplos 
Php :: quiz 
Php :: run drush command from php 
Php :: php undefined index 
Php :: WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403 
Php :: Autoriser les contributeurs à télécharger des images 
Php :: Target class [LoginController] does not exist. 
Php :: unlink() in php 
Php :: laravel components 
Php :: session 
Php :: php if equal 
Php :: update php version cpanel 
Php :: php event listener 
Php :: codes for php 
Php :: how to do taxonomy filter in wordpress 
Php :: unless blade laravel 
Php :: php forech pdo 
Java :: minecraft death counter 
Java :: round jframe corners in java 
Java :: for with two values java 
Java :: javafx get screen size 
Java :: java age from date 
Java :: add retrofit dependency android 
Java :: android coding how to open map 
Java :: exit app android 
Java :: how to print a matrix in java 
Java :: how to use edittext get 
Java :: get epoch time in java 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =