Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Editable form fields? Reply To: Editable form fields?

#171401
__
Participant

Damn! On Windows, does that exit the browser?

Dunno. Chrome on Linux, it exits the browser.

PHP functions … I’ve never worked with them but it’s a great way to start.

syntax is basically like javascript, but scoping is different. Variables are always local to the function, and global variables are not accessible inside the function. (There is the global keyword, but you shouldn’t ever use it.)

What I want to do is take what is already in the database that is outputted on the page and update it once the user changes a value and clicks out of the textarea. Does that make sense?

Absolutely. So, for now, we’re dealing with updating your existing records, not creating new ones.