runnerjp Posted December 9, 2008 Share Posted December 9, 2008 im trying to create inline text edits on my profiles page... using my current code <label>Your name:</label> <span id="userName" class="editText">test</span><br /> <label></label> what would i be grabbin to insert into my db? Quote Link to comment https://forums.phpfreaks.com/topic/136207-saving-edited-text-into-db/ Share on other sites More sharing options...
.josh Posted December 9, 2008 Share Posted December 9, 2008 You can like, use getelementbyid.innerhtml or whatever (javascript) to grab the info between your span tag, and use ajax to send it to the server and then php to receive it and insert it into your db. Or like, use a form. Quote Link to comment https://forums.phpfreaks.com/topic/136207-saving-edited-text-into-db/#findComment-710510 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.