![]() |
![]() |
![]()
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 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Moderatorzy Postów: 36 557 Pomógł: 6315 Dołączył: 27.12.2004 ![]() |
przeciez masz wyraznie napisane....
Cytat mysqli_select_db() expects parameter 1 to be mysqli, string given in ... Zmien kolejnosc parametrow. |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 311 Pomógł: 1 Dołączył: 27.05.2006 Ostrzeżenie: (0%) ![]() ![]() |
Wielkie dzięki. Nie ma jak to czytać ze zrozumieniem (IMG:style_emoticons/default/wink.gif)
|
|
|
![]()
Post
#4
|
|
Grupa: Moderatorzy Postów: 36 557 Pomógł: 6315 Dołączył: 27.12.2004 ![]() |
O korzystania z manuala, w ktorym to miales rowniez czarno na bialym napisane, juz nie wspomne (IMG:style_emoticons/default/tongue.gif)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 21:02 |