payney Posted October 10, 2007 Share Posted October 10, 2007 Hi all, just a quick Q before I go out and do this. Could some1 show me where, or how to create a multi row form? For example, I am updating a football league table and wish to update all the rows at the same time, how is this done? Link to comment https://forums.phpfreaks.com/topic/72654-multi-row-form/ Share on other sites More sharing options...
ikmyer Posted October 10, 2007 Share Posted October 10, 2007 I think to modify all records in a table you can just leave out the WHERE so... <?php $sql = "UPDATE `table` SET `field` = 'test'"; ?> Link to comment https://forums.phpfreaks.com/topic/72654-multi-row-form/#findComment-366365 Share on other sites More sharing options...
payney Posted October 11, 2007 Author Share Posted October 11, 2007 Its not that I want to do. Like in PHPMyAdmin where you can update multiple rows Link to comment https://forums.phpfreaks.com/topic/72654-multi-row-form/#findComment-366875 Share on other sites More sharing options...
payney Posted October 11, 2007 Author Share Posted October 11, 2007 Yeah! Manage to find some code on google. http://www.theblog.ca/?p=12 Link to comment https://forums.phpfreaks.com/topic/72654-multi-row-form/#findComment-366891 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.