"John P . Looney" wrote:
> 
>  I was thinking of having a /articles/static/ active page, where the
> argument would be the url field of an article It'd be nice for a permenant
> placement for an article. Only, it looks like it'd be inefficent to get
> all articles, and look for the one with the URL matching. It'd be much
> better to do something like
>     "select id from article where url='article_name'"
> 
>  Should midgard users be beaten for using SQL directly ? Is there a "nice"
> way of doing this ?

You mean something like get_article_by_name($topic, $argv[0]); ?

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to