I'm trying to use Florian Dittmer's script to store images in a MySQL database via a PHP form. I have MySQL v.3.23.38 on NT and PHP 4.05. I've copied his script exactly, except for changing the names of some of the fields.
I get an error about the following line:
if ($submit) {
My error is this:
"Warning: Undefined variable: submit in C:\Inetpub\wwwroot\statelinks\php\upload_art.php on line 16"
Im am (VERY!) new to PHP, but it looks like PHP thinks $submit is some sort of undefined variable, rather than a built-in submit button handler?
Very confused. If anyone can help, especially mailing directly to my e-mail address, I'd much appreciate it.
Thanks,
Chris
I get an error about the following line:
if ($submit) {
My error is this:
"Warning: Undefined variable: submit in C:\Inetpub\wwwroot\statelinks\php\upload_art.php on line 16"
Im am (VERY!) new to PHP, but it looks like PHP thinks $submit is some sort of undefined variable, rather than a built-in submit button handler?
Very confused. If anyone can help, especially mailing directly to my e-mail address, I'd much appreciate it.
Thanks,
Chris