pugboy Posted July 10, 2008 Share Posted July 10, 2008 I am wondering, in MySQL, can I actually modify a value of a row in PHP? I can't seems to find how I would do that. Insert just makes a new row, doesn't it? Link to comment https://forums.phpfreaks.com/topic/114008-solved-db-question/ Share on other sites More sharing options...
trq Posted July 10, 2008 Share Posted July 10, 2008 You would use an UPDATE statement. eg; UPDATE tbl SET fld = 'newvalue' WHERE id = 2; Link to comment https://forums.phpfreaks.com/topic/114008-solved-db-question/#findComment-585940 Share on other sites More sharing options...
pugboy Posted July 10, 2008 Author Share Posted July 10, 2008 Ok, thanks Link to comment https://forums.phpfreaks.com/topic/114008-solved-db-question/#findComment-585948 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.