Solarpitch Posted January 13, 2007 Share Posted January 13, 2007 Why I am online today, may as well ask another question . . Is there anyway to populate textfields with database values? Call the information into textfiels so the user can update thier profile? Quote Link to comment Share on other sites More sharing options...
fenway Posted January 13, 2007 Share Posted January 13, 2007 You can use PHP to put whatever you want in the VALUE attribute of most INPUT fields... as for updating, well, there are many tutorials on that. Quote Link to comment Share on other sites More sharing options...
Solarpitch Posted January 13, 2007 Author Share Posted January 13, 2007 How would I embed that? Something like this...<td><input name="header" type="text" id="header" style="width: 300px; " value= ' . "$fill_header" . '></td> Quote Link to comment Share on other sites More sharing options...
fenway Posted January 14, 2007 Share Posted January 14, 2007 I believe you'd need a <?php> open/close tag pair, but yes. Quote Link to comment 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.