Kod
PHP Fatal error: Call to undefined function mssql_connect()
Wystarczy zmienić na sqlsrv_connect i jest ok. Tylko, że nie ma takiej komendy jak sqlsrv_fetch_assoc. Chciałbym to wyświetlić w tablicy asociacyjnej, bo teraz mam sqlsrv_fetch_array i nie wyświetla mi daty.
Kod
PHP Warning: strtotime() expects parameter 1 to be string, object given in D:\tst\asd.php on line 124
Próbowałem to zamienić na string lecz wyświetla mi błąd
Kod
Object of class DateTime could not be converted to string