pp wrote:
>
> Eero af Heurlin wrote:
> >
>
> > Are you doing totally your own routines for adding articles or using
> > parts of the 1.2.5 admin site ?
>
> both of them
>
> > ----snip----
> > <form method=post action="handler.html">
> > <input type=hidden name="action" value="add_article">
> > Select Topic: <select name="topic">
> > <option value="" selected>Pick one</option>
> > <?php $topics=mgd_list_topics($root_topic);
> > if ($topics) {
> > while ($topics->fetch()) {
> > ?><option value="&(topics.id);">&(topics.name);</option><?
> > }
> > } ?>
> > </select>
> > <input type=submit name=submit value=submit>
> > </form>
>
> looks rather like this, I changed method for get and option value
> is sent correct. If my select name is 'alamakota' so
> $topic = $alamakota;
> for created article?
It should be but I'm not sure how to use the GET method (never used it
in forms, always done things with post), note that you need a separate
handler script (the handler.html) with the post method (and the form
needs to pass all the variables/fields you wish to use to the handler,
either as hidden inputs or editable inputs).
If you can send me the source from your pages I can try to see what is
going wrong and where.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]