Error message when viewing php form page
I just purchased Form Builder and have put together a very simple secure log in form and inserted it into my page. I am using DW CS4 as my editor and i know that my server supports PHP (although I do not know how to use PHP).
Form Builder markets itself that the user doesn't need to be a programmer, and makes forms very simple. However, we have found that it does not include any explanation on what type of PHP docs you need on your server in addition to the form itself in order for it to work successfully. So I have just done the one thing it does suggest which is to submit my form to itself. It sounds like the file (or page) that holds the form should be a PHP doc, instead of "html" extension - is this correct?
When I started out, my page was saved as an html file, and i could view the form in the page when uploaded to server. Now I've changed the file to a PHP doc (for reasons above) and cannot view it in a browser - I get the following error message:
(Browser Message)
-----
"Fatal error: Call to undefined function: virtual() in /home/content/y/d/o/ydojnojmmm/html/investlogin.php on line 1"
-----
The code on line 1 was put in automatically by Form Builder. For reference, the first few lines of code (in DW) are as follows:
-----
1 <?php virtual("/WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
2 <?php virtual("/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
3 null
4 null
5 null
6 null
7 undefined
8 undefined
9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
10 <html xmlns="http://www.w3.org/1999/xhtml">
-----
Hopefully I've been detailed enough to start out here.
I would really appreciate anyone's help!
thanks,
Anna