victorym
06-28-2006, 03:16 PM
I have a form with 25 entries. Upon completion, I'd like for the information to go to its database.
In the <head> section I have:
<script language="php" type="text/php">
function DJS_AddPlayer() {
which is supposed to insert the info into the database.
In the <body> there is:
onClick="DJS_AddPlayer"
What I get when I click that button is that DJS_AddPlayer is undefined.
Does onClick only work with JS?
Suggestions??
In the <head> section I have:
<script language="php" type="text/php">
function DJS_AddPlayer() {
which is supposed to insert the info into the database.
In the <body> there is:
onClick="DJS_AddPlayer"
What I get when I click that button is that DJS_AddPlayer is undefined.
Does onClick only work with JS?
Suggestions??