Hello
i would ask how can i write code for updating data which is in MySQL database, i mean i want to retrive a table from the data on the web-page then update it and save what it is changed in the data.

You first retrieve the data from database...
and show it in your text boxes like value="<? $row?>"

if user change the data and when clicks on submit button,
then write a update query in this if condition:
if($_SERVER=='POST'){
}

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.