Hi Pikachu,
Thank you for getting back to me so quickly, I am very grateful for your time and advice. I ran the code with your recommendations, and found that my data is being properly read in to the array, and also that I am connecting to the database. When you added the mysql_error() call there, this is what I receive when inputting the variables to the VALUES() as $varname, $varname2, $varname3:
"Query string: INSERT INTO `MAILINGLIST` (`id`,`First`, `Last`, `Email`, `How_Found`) VALUES (NULL, $firstname, $lastname, $email, $howfound);
Produced error: Unknown column '$firstname' in 'field list'
When I ran the query directly on myPHPAdmin, of course I couldn't use the variable names at that point so I directly substituted some values for each - this worked.
It appears to me therefore that I am tripping up somewhere on the syntax involving how the VALUES() portion replaces the variable names with the actual instance data for each. There is no column of course with those names, so I'm not sure why it is looking for a column at that point, I specified the column names in the first list there.
Given the data is being read in properly to the _POST[] array, and also my variables are being initialized properly (verified this by doing an echo of each variable after each initialization), any ideas why when I go to put in the VALUES() as the variables, it all goes to crap?
MySQL server version is 5.0.91-log if that is of assistance. I am completely stuck here. I've now echoed out everything I can think to echo out, verified I am actually connecting to the database/table, and that all variables are getting initialized properly.
Thanks a million in advance for any feedback or ideas you may have about why this is happening.
CL