[SOLVED] passing var with the PHP on the Fly example.
Posted: Wed Feb 15, 2006 8:23 am
Hi guys,
I used this example found at http://www.webpronews.com/webdevelopmen ... heFly.html to hopefully save data in a web forum without having them redirected. What I have is a thing i wrote for my boss to design some stuff with a WYSIWYG editor, and then it saves the html code in a mysql database once he hits the generate button. The issue I am trying to fix is that he asked for a save button, so that he can continue his work and just save the progress in the sql database. At first I figured it would be an easy thing. But the more I have gotten into it, this is proving to be very difficult.
I guess what I need to know is, do you think that using this php on the fly stuff is the answer to taking the work he has done and passing the variables to that page that the on the fly code pulls in, and then executing a mysql_query to save it, or do you know possibly a better way to save form data and allow people to still work on what they were working on without having to search the database and load the thing again?
Thanks for your help, sorry if this was confusing. If anyone needs it cleared up, lemme know and i will try and shed some light on it. This has been driving me crazy for days now.
Thanks
Chris S.
smittydesign@gmail.com
I used this example found at http://www.webpronews.com/webdevelopmen ... heFly.html to hopefully save data in a web forum without having them redirected. What I have is a thing i wrote for my boss to design some stuff with a WYSIWYG editor, and then it saves the html code in a mysql database once he hits the generate button. The issue I am trying to fix is that he asked for a save button, so that he can continue his work and just save the progress in the sql database. At first I figured it would be an easy thing. But the more I have gotten into it, this is proving to be very difficult.
I guess what I need to know is, do you think that using this php on the fly stuff is the answer to taking the work he has done and passing the variables to that page that the on the fly code pulls in, and then executing a mysql_query to save it, or do you know possibly a better way to save form data and allow people to still work on what they were working on without having to search the database and load the thing again?
Thanks for your help, sorry if this was confusing. If anyone needs it cleared up, lemme know and i will try and shed some light on it. This has been driving me crazy for days now.
Thanks
Chris S.
smittydesign@gmail.com