Jump to content

Help with making a simple mysql page


muddy9494

Recommended Posts

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

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.