Ok, now that I have the form working correctly, I cannt seem to get my update script working right. Here is the script to update the database, that is not working:
<?php
include 'config.php';
echo 'Song Change Update script';
$field1=$_POST['songname'];
$field2=$_POST['songdesc'];
$field3=$_POST['songlyrics'];
//Now we need to update the song table with the new info
$sql = "UPDATE songs SET (sid, name, description, lyrics) VALUES (NULL, $field1, $field2, $field3) WHERE name == $field1";
mysql_query($sql);
?>
The result is that nothing happens with the database.
Am I using a wrong syntax, or?
Thank you;
Ice