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? Quote Link to comment 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'"; ?> Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.