פונקציה כללית ל-mysql_prepare
שלום,
מקצת work arround כתבתי פונקציה (קוד מצו"ב) ל-prepare באופן דינאמי.
אני מנסה לקמפל את הקוד, אך הוא לא עובר phplint,
http://www.icosaedro.it/phplint/phplint-on-line.html
וגם יש בעיה מבחינת הקוד (לא עובד, והודעת שגיאה על השורה: call_user_func_array
mixing elements of different types in array: found string, expected mysqli_stmt
וכן,
calling `call_user_func_array()' declared in modules/standard:593, argument no. 2: found type `mixed[]', required type `mixed[int]'
1. איך להעביר את הקובץ קומפילצה ב-phplint?
2. מה לא נכון בקוד?
שלום,
מקצת work arround כתבתי פונקציה (קוד מצו"ב) ל-prepare באופן דינאמי.
אני מנסה לקמפל את הקוד, אך הוא לא עובר phplint,
http://www.icosaedro.it/phplint/phplint-on-line.html
וגם יש בעיה מבחינת הקוד (לא עובד, והודעת שגיאה על השורה: call_user_func_array
mixing elements of different types in array: found string, expected mysqli_stmt
וכן,
calling `call_user_func_array()' declared in modules/standard:593, argument no. 2: found type `mixed[]', required type `mixed[int]'
1. איך להעביר את הקובץ קומפילצה ב-phplint?
2. מה לא נכון בקוד?