Jump to content

Making a basic data editing page


Foser

Recommended Posts

Alright, I want a page where the administrator has rights to edit the user data by msql_query("UPDATE..."); I know how to do this no problem

 

Because some fields are drop down menus or fields and most of the old data is entered taking the info from the SQL database. How can I make it so if you only change the username so it won't change the password and the email and so on.

Link to comment
Share on other sites

so if i do it this way it will change it all but if everything is inserted in the html from the database and it dosint changte this can work.

 

 

 

Although how can I make a default value of a drop down menu with php or a default, a default check on the group radio button? (using php ofcourse

thanks

Link to comment
Share on other sites

well the way you showedd me of updating the data is correct. although all values must be taken from the database an inserted as an innitial value if you only edit a username the rest will want to stay the same. how to make an initial value with php with drop down menus or radio groups?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.