PHP Classes

Select Problem MetabaseQuery($dmConn,$cons);

Recommend this page to a friend!

      Metabase  >  All threads  >  Select Problem...  >  (Un) Subscribe thread alerts  
Subject:Select Problem...
Summary:Problem with select MSSQL
Messages:2
Author:juan
Date:2014-05-21 15:12:59
Update:2014-05-21 21:06:51
 

  1. Select Problem...   Reply   Report abuse  
Picture of juan juan - 2014-05-21 15:12:59
I have problem with the query using the function MetabaseQuery ($ dmConn, $ con); a database in sql server 2008 this returns me the data base but there is a field within the table, date, this should retornarme YMD, eg '2014-05-21 'but when I returned from the query, this adds two character -, meaning that returns '--21/05/2014'; thus I can not use mktime.

Thanks for the help.

  2. Re: Select Problem...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-21 21:06:51 - In reply to message 1 from juan
Did you create the database tables with Metabase schema manager classes or did you use an already created database?