Scout24 / restapi-php-sdk

SDK für PHP-Entwickler um die Arbeit mit der API von ImmobilienScout24 zu vereinfachen. Über die API erhält man Ergebnislisten, Objektdaten, uvm. von ImmobilienScout und kann diese Daten inhherhalb seines Webservice integrieren. Die Dokumentation zum SDK findet man unter https://github.com/Immocaster/php-sdk/wiki.
64 stars 46 forks source link

mysql_connect() is deprecated #39

Closed timeens closed 7 years ago

jan-koch commented 7 years ago

Just installed the API and came across this issue as well. I went through Data/MySQL.php and replaced all "mysql" functions with "mysqli" functions.

So far it seems to be working.

timeens commented 7 years ago

mysql functions are deprecated since PHP 7. If someone is still running into troubles you can use this -> https://github.com/dshafik/php7-mysql-shim

Notice the "Why You Shouldn't Use This Library" section. :+1:

fmielke commented 7 years ago

merge request done. https://github.com/ImmobilienScout24/restapi-php-sdk/commit/81e3a2b2650454bc96e103944c514143a905a656