here's the code:
$conn = odbc_connect( 'CoffeySports' , 'root' , '' );
$addheadline_query = "INSERT INTO CoffeySports (headlines,fullstory) VALUES ('$headlines','$fullstory')";
odbc_exec( $conn, $addheadline_query );
I know my variables are passing from the previous page and I know everything is spelled right.
Here's the error I'm getting:
Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression ''Big \'ol loss for them Braves')'., SQL state 37000 in SQLExecDirect in F:\web_docs\seth_cox\scdevelopments\php\addprocess.php on line 14
Line 14 is my odbc_connect statement
Any ideas? Thanks so much,
Seth