You are here: adding to form? « PHP Programming Language « IT news, forums, messages
adding to form?

Posted by Christo on 11/15/06 13:46

novice with mysql so be slow.

Want to be able to update the contents of a database row through a
form, i want to be able to load the contents of a specific row

my database table is as follows

id(pk) | title | body | date(text field)
---------------------------------------------------------------------------
1 | hello | test | 15-11-2006 13:44
2 | again | test2 | 15-11-2006 13:45


basically i want to be able to add the contents of one of thw rows into
various forms, for instance lets say i want to edit all of the stuff in
the table which i do, and i want to add the title and the body into
forms respectively named title and body how would i do this?

I tried using a select statement to select all of the items from the
table in the database and put where id='".$id."'
Basically i dont have a clue wehre to start here so can someone please
help me

 

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

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