I got problem with modifying articles form admin site.
I changed a little admin code because users have to modify only three
fields
for article. And now I want to modify article and create another one
with the same
values with another topic ID.
<? 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?
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]