ODBC, parse error
| From: | Fernando Buitrago | Date: | Sun, 08 Apr 2001 01:28:07 +0000 |
| Subject: | ODBC, parse error | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8341@lists.php.net to get a copy of this message | ||
Hello, PHP turn me crazy, I'm triyong to undertand what happend here.
<?
$conn = odbc_connect("encuneweb","","");
$cadena = "SELECT * FROM PERSONAS WHERE IdPersona = '$v_IdPersona'";
result2 = odbc_exec($conn,$cadena);
close($conn);
?>
The parse error apear in line: odbc exec.
I'd try with odbc_execute and odbc_prepare too.
Thanks.
Fer