aximbigfan Posted October 31, 2008 Share Posted October 31, 2008 Hi This is really only the second time I have ever poked MySQL, so I am a n00b. Now, I have a table like this: +-------------+-------+ | IID | iindex | +-------------+-------+ | 2rlkrp2m3pr | 35 | | erwewetwe | 23 | etc... I want to be able to add 1 to the number next to IID (in iindex). How can I do this? For example, I want to add 1 to the number across from "erwewetwe". What would the query be to do this? Thanks, Chris Quote Link to comment https://forums.phpfreaks.com/topic/130943-solved-beginner-to-mysql-having-an-id-associated-with-a-record/ Share on other sites More sharing options...
aximbigfan Posted October 31, 2008 Author Share Posted October 31, 2008 Never mind... I got it! I just got confused for a minute. Chris Quote Link to comment https://forums.phpfreaks.com/topic/130943-solved-beginner-to-mysql-having-an-id-associated-with-a-record/#findComment-679746 Share on other sites More sharing options...
fenway Posted November 3, 2008 Share Posted November 3, 2008 How? Quote Link to comment https://forums.phpfreaks.com/topic/130943-solved-beginner-to-mysql-having-an-id-associated-with-a-record/#findComment-681426 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.