You are here: Re: publish and save button question « All PHP « IT news, forums, messages
Re: publish and save button question

Posted by Geoff Berrow on 12/19/06 09:17

Message-ID: <2uednSPrxsxs0hrYRVnytQA@eclipse.net.uk> from the red dot
contained the following:

>and the 'save' button would insert it into the database - for example into a
>'save' (not yet ready for 'publishing') table - so (the question is) how
>can i give make this button send the same data from the same form to a
>different ('save') table?

Having the same data in two tables is data redundancy. Simply have a
separate field in the table which describes the status of the data.
Initially it will be set to 'live' and then change it to 'saved' (or
'publish' or whatever makes sense) when your save button is pressed.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

 

Navigation:

[Reply to this 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

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