Is it possible to check the types of columns in a mysql resultset so you
don't need to know the type of data returned beforehand?
I'd like to be able to do something like:
if($coltype == "datetime") {
// parse date
}else if ($coltype == "varchar") {
// parse string
}
thx
..s
don't need to know the type of data returned beforehand?
I'd like to be able to do something like:
if($coltype == "datetime") {
// parse date
}else if ($coltype == "varchar") {
// parse string
}
thx
..s
Comment