Bringing out Data from Database
| From: | erbel@submedia.de | Date: | Tue, 15 Oct 2002 04:53:53 +0000 |
| Subject: | Bringing out Data from Database | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2536@lists.php.net to get a copy of this message | ||
Hello All,
I am new in this list. My PHP Knowledge ist okay for webserver-side programming. I like php-gtk. But how will I bring out my data from my mySQL Database and display it, i.e.
$sql = "SELECT idid,NAME,VORNAME,PLZ,ORT FROM adressvs_lg LIMIT $x,10";
$ergebnis = mysql_query($sql,$verbindung);
while($row = mysql_fetch_object($ergebnis)) {
//eine string array ausgeben
$pListe .= $row->idid." ".$row->NAME." ".$row->VORNAME." ".$row->PLZ." ".$row->ORT."\n";
}
echo "$pListe";
All I get is the result in the command window (or terminal). How can I display it in a widget??
I hope you can help. I think my GTK is not good enough, do you know a book or a tutorial on GTK?
Thank you and have a nice day,
Volker