From: Franky V. L. <lie...@te...> - 2008-03-16 15:18:57
|
On Sun, 16 Mar 2008 11:08:06 -0400 "Greg Landry" <gp...@ma...> wrote: > Hi all, > > Can someone tell me which records in the phpesp database that I can > delete to reset a surveys results to 0. > > Currently I have a survey called Contractors that I have been testing > live but I want to set everything back before it was used? > > Also I noticed that I get a php error if I try to embed the php code > for the survey into a regular php page with html headers - is there a > workaround for this? > > Thanks for your time and patience, > Greg For the clearing of results: normally I would say, just make a copy of the survey and use that one live, but in the latest version (2.0.2) there is an admin link that allows you to purge a certain response id (if you don't have too much test answers ...). The copy still is the easiest way, though. There is a "test" status for this kind of purposes in the first place ... For the inclusion in another page: see the examples subdir (eg examples/survey.php). Franky |