dachshund Posted May 17, 2008 Share Posted May 17, 2008 Does anyone know how to create a form which adds information to a database table. For example if the 'content' section of the database table already held the text: Hello And I wanted a form which when submitted added to this, so if someone submitted 'My name is', the content section would then hold the text: 'Hello My name is' Hope that makes sense. Thanks Link to comment https://forums.phpfreaks.com/topic/106088-add-to-database/ Share on other sites More sharing options...
cgm225 Posted May 17, 2008 Share Posted May 17, 2008 Try this tutorial http://www.webmonkey.com/99/21/index3a_page4.html?tw=programming Link to comment https://forums.phpfreaks.com/topic/106088-add-to-database/#findComment-543747 Share on other sites More sharing options...
cgm225 Posted May 17, 2008 Share Posted May 17, 2008 However, if you are updating an existing field in your database use UPDATE NOT INSERT see http://www.w3schools.com/php/php_mysql_update.asp Link to comment https://forums.phpfreaks.com/topic/106088-add-to-database/#findComment-543748 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.