Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error using php and progress

Status
Not open for further replies.

alil

Programmer
Jul 10, 2003
2
MX
Hi

I'm new using php and progress... so i'm trying to meke some simple examples of displaying data on internet using php and a progress database

My problem is not about conection, i can make it well but when i try some SQL statement it works but i don't nkow why give me de same record n times. this is muy code

$query = odbc_exec($odbc,"SELECT * FROM pub.clientes ") or die (odbc_errormsg());

echo odbc_result_all($query);

it give me de right number or records but the same in all.

thanks for your help
 
Hi Again, if i use Select distinct i can see diferent records but i don't think it's correct
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top