ODBC Query String
| From: | Jack Pappas \(AIM: 'Prof Quail'\) | Date: | Tue, 29 Aug 2000 02:51:50 +0000 |
| Subject: | ODBC Query String | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14047@lists.php.net to get a copy of this message | ||
Hey folks,
I've been using PHP on my windows box, but I've run into some problems
accessing ODBC databases. Here's my problem:
$cur= odbc_exec( $cnx, "SELECT
RadioID,FirstName,LastName,Position,Email,LastYear,Birthdate,Birthplace,Grade,LikeAboutRadio,WhatJobIs,HaveAShow,Music,SportsClubs,Quote,OtherInfo
FROM BioInfo ORDER BY Position" );
There's something wrong with that particular part of my code, I've
scratched my brain for days trying to figure out the problem! I'm
getting the folllowing error message:
Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few
parameters. Expected 1., SQL state 07001 in SQLExecDirect in
D:\biolist.php on line 71
Can anyone help me with this!? Thanks in advance, -Jack