On 20/09/2007, Michael Heyder
<Info(a)hafenvolleyballer.de> wrote:
Hi,
if stored some Patterns for new Articles in a specialnamespace called
Patterns:...
So know i wanna recieve the content to load this in in a textfield.
But i've no idea how to recieve the content.
'select * from pages where page_namespace=100' gives no stored content back!
When you say you get nothing back, do you get 0 rows, or an error? You
should really be using the functions in Database.php instead of doing
manual queries. At the very least, you need to use
Database::tableName() to get the correct name for the table (with the
prefix, for example) if you aren't already.
No missunderstandig ...
with the staement i recieve an array of pages. Butthere are no stored
article contents.
at the moment i test like this ... but not correct it seems
$data=$this->naw_functs->_nawPatterns();
$title=Title::newFromID($data[0]['page_id']);
$article=new Article($title);
regards
mic