![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 311 Pomógł: 1 Dołączył: 27.05.2006 Ostrzeżenie: (0%) ![]() ![]() |
Jak poprawnie zapisać poniższy skrypt aby nie wywalało błędu:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in... Wiem, że ma być mysqli ale jak ma wyglądać cały ten powyższy kawałek? Coś takiego:
oczywiście wywala: mysqli_select_db() expects parameter 1 to be mysqli, string given in ... mysql_query() expects parameter 2 to be resource, object given in ... a w dalszym kodzie: Invalid argument supplied for foreach() in ... Ten post edytował harbii 9.05.2017, 10:38:59 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.06.2025 - 08:31 |