jsphp Posted April 11, 2008 Share Posted April 11, 2008 HI I am quite new to PHP so this may sound like a basic question to some of you. Anyway, I was wandering how I would update data from a database using a form. I am using POSTGRESQL. Basically, I have three forms which will allow an administrator to add/edit/delete products from the product table. The adding was simple, and I used an INSERT querty to insert the data in to the product table. Deleting was also OK. I just did that so the administrator could delete a products details from its ID. However, I am having trouble with updating. Could anyone explain to me what to do? Thanks for any help anyone can give Link to comment https://forums.phpfreaks.com/topic/100657-updating-help-please/ Share on other sites More sharing options...
p2grace Posted April 11, 2008 Share Posted April 11, 2008 You should just be able to do a simple UPDATE query. http://www.postgresql.org/docs/8.2/interactive/rules-update.html Link to comment https://forums.phpfreaks.com/topic/100657-updating-help-please/#findComment-514864 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.