Jump to content

PDO wrapper - select and display


Pain

Recommended Posts

Hello there.

 

I am using the PDO wrapper class:

 

http://www.imavex.com/php-pdo-wrapper-class/

 

The problem:

When i'm trying to retrieve data from the db and then echo it out - the result i get is "Array" and not the actual value.

 

What is wrong here, how can i retrieve actual value?

 

The way i'm trying to retrieve and display values:

 
$results = $db->select("mytable");
echo $results;
 
Link to comment
https://forums.phpfreaks.com/topic/278221-pdo-wrapper-select-and-display/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.