Reply to Re: How to add 2 new fields to table in PHP?

Your name:

Reply:


Posted by J.O. Aho on 12/23/05 12:00

Bob Baboie wrote:
> Hi Folks,
>
> I have multpile databases on various domains all using the same table.
>
> Trying to find a simple script to add 2 additional fields to each table
> without manually having to do it.
>
> INSERT INTO `master` (`PermaBotLinkURL`, `PermaBotLink`) VALUES
> ('value01','value02');
>
> This does not work obviously, because trying to instert in to something that
> does not exist

You need to alter the table before you can insert anything new, see
http://dev.mysql.com/doc/refman/5.0/en/alter-table.html


//Aho

[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

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