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
[SOLVED] passing var with the PHP on the Fly example.
Moderator: General Moderators
Figured it myself :)
Well, as usual. When ever I post a question on any forum, I always find the answer about 5 mins after. The answer to my solution was to start the sesion on the file that the php on the fly code was pulling in when I hit the save button.
so if you want to use the php on the fly and still use session varriables just place session_start(); at the top of that file.
-- Chris S.
smittydesign@gmail.com
so if you want to use the php on the fly and still use session varriables just place session_start(); at the top of that file.
-- Chris S.
smittydesign@gmail.com