I was just wondering what is php's pdo equivalent of java's resultset.getString?
I'd like to be able to seperate column values and give them a different css styling and am finding it tricky.
Here's an example of what I mean that I'd like to be able to do in php but it's in java
ResultSet rs = stmt.executeQuery(query);
while (rs.next()) {
String name = rs.getString("name");
String description = rs.getString("description");
double price = rs.getDouble("price");
}