onlyican Posted January 26, 2007 Share Posted January 26, 2007 Hey peopleI have a fun questionI have an array, which I parsed from PHP into Javascript, so we can change the values of the array without a page refreshNow, I want to parse the array back to HTM, which I think I should be using a formHOW would I do thisIf ya wanna examplehttp://www.onlyican.com/work_example/positickets/posi_floorplans.phpNOTE:Code is a mess at the moment, this is just testing somethingWhen it works, I will sort out in a better order Quote Link to comment Share on other sites More sharing options...
fenway Posted January 26, 2007 Share Posted January 26, 2007 I don't know what you mean by "parse the array back to HTM". Quote Link to comment Share on other sites More sharing options...
onlyican Posted January 26, 2007 Author Share Posted January 26, 2007 I am parsing an array from PHP to JavaScriptAs the array is stored in a databaseIf you click on the link, you can change the values of the array (Click on the top Left box area and a alert will show you)but I want to store the changes back in the database, so I need to parse the array back to the PHP side.I would do this using a formHow would I do that? Quote Link to comment Share on other sites More sharing options...
fenway Posted January 26, 2007 Share Posted January 26, 2007 You'll need to post back to the DB onclick... like with AJAX. Quote Link to comment Share on other sites More sharing options...
onlyican Posted January 26, 2007 Author Share Posted January 26, 2007 sorry, I am a PHP guy,How would I do that? Quote Link to comment Share on other sites More sharing options...
fenway Posted January 26, 2007 Share Posted January 26, 2007 sorry, I'm more of a JS guy... try the AJAX forum. 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.