muddy9494 Posted June 7, 2009 Share Posted June 7, 2009 Ok, Heres the deal. I have this page that i want to be able to change certain things by linking them to a table in a mysql database. Now instead of going to the database everytime to change it, i want to make a webpage in php that will update the tables for me. So say i want to change itemA to something else, i would type it in a text box and press go and it will change it in the database. Thanks and yes im just learning php, but sample code would be helpful Link to comment https://forums.phpfreaks.com/topic/161246-help-with-making-a-simple-mysql-page/ Share on other sites More sharing options...
Ken2k7 Posted June 7, 2009 Share Posted June 7, 2009 And how far can you get on your own with that? Can you post the code you can get up to? Link to comment https://forums.phpfreaks.com/topic/161246-help-with-making-a-simple-mysql-page/#findComment-850836 Share on other sites More sharing options...
muddy9494 Posted June 7, 2009 Author Share Posted June 7, 2009 Actually, i cant get the code. I just need to be able to change mysql database values from a webpage. sorta like an admin panel. ya know? Just i need a txt box and a submit button. i enter what i want in txt box 1 and it changes the value in row 1 and for txt box 2 it changes row 2. and so on and so on. Link to comment https://forums.phpfreaks.com/topic/161246-help-with-making-a-simple-mysql-page/#findComment-850840 Share on other sites More sharing options...
Ken2k7 Posted June 7, 2009 Share Posted June 7, 2009 In that case, I suggest you start by reading this - http://www.tizag.com/mysqlTutorial/ and try working out some code on your own. If you get stuck or have troubles with any part of it, you can post the code you have along with the error message (if applicable) and we'll help you. Link to comment https://forums.phpfreaks.com/topic/161246-help-with-making-a-simple-mysql-page/#findComment-850842 Share on other sites More sharing options...
muddy9494 Posted June 7, 2009 Author Share Posted June 7, 2009 Well i cant figure out how to code it. I cant figure out how to do this correctly. Do you have a sample code of updating a row with a txt box? thats all i need. if i can get that im good Link to comment https://forums.phpfreaks.com/topic/161246-help-with-making-a-simple-mysql-page/#findComment-850849 Share on other sites More sharing options...
Ken2k7 Posted June 7, 2009 Share Posted June 7, 2009 Define correctly. What did you do that didn't work? Mind showing me the code? Link to comment https://forums.phpfreaks.com/topic/161246-help-with-making-a-simple-mysql-page/#findComment-850854 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.