Hallo,
Ich wollte mal fragen wie ich z.b diese abfrage hier umschreiben müsste damit das ganze in mysqli funktioniert?
Danke im Voraus
M.f.g
Ich wollte mal fragen wie ich z.b diese abfrage hier umschreiben müsste damit das ganze in mysqli funktioniert?
PHP-Quellcode
- <?php
- $pageabfrage = mysql_query("SELECT * FROM messages ORDER BY id DESC");
- while($row = mysql_fetch_object($pageabfrage))
- { ?>
- <tr>
- <td>#<?php echo $row->id; ?></td>
- <td><a class="text-danger" href="./index.php?p=page&page=<?php echo $row->id; ?>" target="_blank"><?php echo $row->pagename; ?></a></font></td>
- <td><a class="text-danger" title="Bearbeiten" href="./index.php?p=pageverwaltung&f=edit&page=<?php echo $row->id; ?>"><i class="fa fa-pencil"></i></a> |
- <a class="text-danger" title="Löschen" href="./index.php?p=pageverwaltung&f=delete&page=<?php echo $row->id; ?>"><i class="fa fa-trash"></i></a></td>
- </tr>
- <?php } ?>
Danke im Voraus
M.f.g
PC: Dell Optiplex 760
Prozessor: Intel Core 2 Duo E8400
RAM: 8GB
Prozessor: Intel Core 2 Duo E8400
RAM: 8GB