From: <mar...@sc...> - 2004-09-08 13:58:58
|
Hello, i am searching the postion or file were to fill a in a restriction before making a result-listing from the database like this: in the table respons= e of the Datebase PHPESP I wish to set in: AND submitted =3D> '$datefrom' AND submitted <=3D '$datetill' as restriction in the SELECT-function. because the same survey i want to keep, but i will see if the results get better with in the time, but i dont wont to copy the survey every time. i have 30 Surveys in phpesp und the questions are the same for 3 or 4 Month. Each Survey is filled every Day and i will see if the Results will get better within the time. Now the question: The variables of $datefrom und $datetill i will get with a form that then will call the manage.php - so the variables will be collected f=FCr being filled in the Select-function - this is no Problem, but in which .inc or .php must i set the two Restrictions to the table response? And will it w= ork when i collect it as variable before caling the manage.php script? my technical English is not the best, but i hope you understand what i wa= nt to do. Greetings Mario Walter - Germany |