requete select dans fetch()

This commit is contained in:
Rodolphe Quiedeville 2003-06-04 17:03:51 +00:00
parent 480ac88e96
commit 4b5b31b8eb

View File

@ -71,7 +71,7 @@ class pnArticle {
*/
Function fetch ($id) {
$sql = "SELECT p.pn_sid, p.pn_title, p.pn_bodytext FROM " . PN_DB_NAME . "." . PN_TABLE_STORIES_NAME . " as p";
$sql = "SELECT p.pn_sid, p.pn_title, p.pn_hometext FROM " . PN_DB_NAME . "." . PN_TABLE_STORIES_NAME . " as p";
if ($id)
{