[PHP-NOTES] note 130204 added to language.variables

[email protected] ("Anonymous")
Newsgroups php.notes
Message-ID <[email protected]>
echo "<th><a href='?sort=addressLine2'>Address 2</a></th>";
            echo "<th><a href='?sort=state'>State</a></th>";
            echo "<th><a href='?sort=country'>Country</a></th>";
            echo "<th><a href='?sort=postalCode'>Postal Code</a></th>";
            echo "<th><a href='?sort=territory'>Territory</a></th>";
            ?>
            <th></th>
          </tr>
        </thead>
        <tbody>
          <?php
          foreach ($result as $row) {
            // Iteration über alle Datensätze -> Ergebnis ist ein 1-dimensionales assoziatives Array
            // print_r($result); // Ausgabe des Arrays zu Testzwecken
            echo "<tr>";
            // Werte in einer Table-row ausgeben
            echo "<td><input type='checkbox' name='del[]' value='" . $row['officeCode'] . "'></td>";
            echo "<td>" . $row['officeCode'] . "</td>";
            echo "<td>" . $row['city'] . "</td>";
            echo "<td>" . $row['phone'] . "</td>";
            echo "<td>" . $row['addressLine1'] . "</td>";
            echo "<td>" . $row['addressLine2'] . "</td>";
            echo "<td>" . $row['state'] . "</td>";
            echo "<td>" . $row['country'] . "</td>";
            echo "<td>" . $row['postalCode'] . "</td>";
            echo "<td>" . $row['territory'] . "</td>";
            echo "</tr>";
          }
          ?>
        </tbody>
      </table>
      <button type="submit">Delete Selected</button>
    </form>
  </div>
</body>

</html>
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 193.170.70.27)
----
Manual Page -- https://php.net/manual/en/language.variables.php
Edit        -- https://main.php.net/note/edit/130204
Del: integrated  -- https://main.php.net/note/delete/130204/integrated
Del: useless     -- https://main.php.net/note/delete/130204/useless
Del: bad code    -- https://main.php.net/note/delete/130204/bad+code
Del: spam        -- https://main.php.net/note/delete/130204/spam
Del: non-english -- https://main.php.net/note/delete/130204/non-english
Del: in docs     -- https://main.php.net/note/delete/130204/in+docs
Del: other reasons-- https://main.php.net/note/delete/130204
Reject      -- https://main.php.net/note/reject/130204
Search      -- https://main.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.