Forum Moderators: coopster
here is the code that is giving me grief:
<html>
<?
line 3 starts on the next line
$sql = "UPDATE albums SET albums.cat_title = '" . $_POST['genre'] . "', album_title = '" . $_POST["album"] . "', album_artist = '" . $_POST["artist"] . "', album_tracks = '" . $_POST["tracks"] . "' WHERE (((albums.article_id)='"$_POST['article_id'];"'))";
line 3 ends here
$odbc = odbc_connect ('access', 'root', '') or die( "Could Not Connect to ODBC Database!" );
//echo $odbc ;
echo $sql ;
odbc_execute($odbc, $sql) or die(odbc_errormsg()) ;
//odbc_execute($sql) or die( "Could Not update Table" )
?>
</html>
I have been slaving over this all yesterday and some direction would be of great help.
Thanks, Jack
[edited by: jack_crombie at 1:29 am (utc) on June 6, 2003]