Crochet Basics Questionnaire


STOP!\n
"; print "
"; print "
Please enter your name!\n
"; print "
"; print "
Try again
"; print "



"; } else { # Successful Post print "
Thank You
"; print "
$name!

\n
"; #test print "
View questinnaire comment results
"; print "

Or

"; print "
Return to Home Page
"; #Connect to Dattabase $link=mysqli_connect('localhost','pmohn','jolie'); if (!$link) { print "Cannot connect to localhost. Error is
"; print mysqli_connect_error(); print "
"; } mysqli_select_db($link,'pmohn'); $time=time(); $query="INSERT into questionnaire values ('','$name','$email', '$experience','$stitches','$patterns','$holidays','$sources', '$othert','$comments','$time')"; $error=mysqli_error($link); if($error) { print "mySQli error: $error
"; } $result=mysqli_query($link,$query); } } else { # Input information print "
\n"; print "
\n"; print "
Please fill in the questionnaire:
\n"; print "

*Name \n"; print "

"; print " Email

\n"; ?>
What is your experience level?

What specialty stitches would you most like to see offered?

Which of the following types of patterns are you most intersted in?

Which of the following holiday patterns are you interested in?

How did you find this website?

Comments:

"; print "

\n"; print "
Please note that all * fields are required
\n"; #Submit button print "

\n"; print "
"; print "
"; } ?>

© 2008 Patricia Mohn.  This page was last updated December 4, 2008

Valid XHTML 1.0!