Reply to Re: insert multiple records into one table (one form)

Your name:

Reply:


Posted by NC on 04/14/06 21:50

GJPeacock@gmail.com wrote:
>
> I am trying to create a 'related articles' selection page. The
> administrator, after creating an article, can select older articles to
> include on the final displayed page.

Is this the best way to do it? You could generate a list of related
articles dynamically, based on article's publication date and topic
(which, of course, means that you need to keep track of topics in your
database).

> As the number of older articles increases, so will the number of
> possible relataed articles, so i am making a dynamic checkbox as the
> selection. This is all covered in Dreamweavers features, but, what i
> then need to be able to do is create a new record in the
> 'related_articles' table for each article selected when the form is
> submitted.

So what seems to be the problem? You receieve several ID numbers or
URLs via POST, and run one or more INSERT queries with this data.

> I found this post below, which is more or less exactly what i want to
> do, i just wasn't sure that this was php code, looks like asp. Would
> someone be kind enough to show me how to change it to php code,
> or even write the code for me?

Well, so far you haven't even mentioned what database you are using...

Cheers,
NC

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация