pp wrote:
> 
> <? if ($action) {
>  $topic = mgd_list_topics(12);
>   while ($produkt_opis->fetch()){
>  ?>
>  <li>&(produkt_opis.name);
>  <input type=hidden name=produkt value=&(topic.id);>
> 
>   <select name=produkty>
>    <?
>   $top = mgd_list_topics($topic->id);
>    while ($top && $top->fetch()){
> // this is for listing where the new article must be added
>  ?>
>  <Option value="&(top.id);">&(top.name);</option>
>    <? } ?>
>    </select>
>    <?  } ?>
> 
>   <br><input type="submit" name="&(action);" value="Submit">
> 
> and I stopped because in admin site code for modify action exists.
> How to do it to modify article and create another one?
> Just make new section for action = 'modify' , and take values from my
> select list?

hmmm.... I tried and it seems to be working except selecting topic's ID
from 
select list. Two days with sun and cold beer made mess in my head , so I
would be very gratefull
for any help.

Piotras


_________________________
http://www.milinski.com.pl
http://www.infoglob.com
http://agaipiotras.igk.pl

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

Reply via email to