Answer the question
In order to leave comments, you need to log in
Decide on a stack for developing UI Style applications in Python?
Answer the question
In order to leave comments, you need to log in
PyQt/PySide supports all Qt features, including complex CSS styles. The idea with the server is working, but it produces a lot of frills.
I don't really understand what you want? In the first part of the question you ask how to display all the data from the database, in the second part you say that you know how to display all the data through while. So what do you need?
PS
<?php
$cont="<table>";
while ($row=mysql_fetch_array($rs)) {
$cont.='<tr><td>'.$row['title'].'</td><td>'.$row["author"].'</td><td>'.$row["text"].'</td></tr>';
});
$cont.='</table>';
echo $cont;
<?php foreach ($row as $item): ?>
<tr>
<td><?php echo $item['title'];?></td>
<td><?php echo $item["author"];?></td>
<td><?php echo $item["text"];?></td>
</tr>
<?php endforeach; ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question