Click here to Skip to main content
15,880,956 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: PHP isset for an Array Pin
Richard MacCutchan8-Apr-23 5:33
mveRichard MacCutchan8-Apr-23 5:33 
GeneralRe: PHP isset for an Array Pin
Aruna KN8-Apr-23 5:55
Aruna KN8-Apr-23 5:55 
QuestionPHP Warning: Undefined variable $conn Pin
Aruna KN3-Apr-23 2:45
Aruna KN3-Apr-23 2:45 
AnswerRe: PHP Warning: Undefined variable $conn Pin
Richard MacCutchan3-Apr-23 2:50
mveRichard MacCutchan3-Apr-23 2:50 
GeneralRe: PHP Warning: Undefined variable $conn Pin
Aruna KN3-Apr-23 3:48
Aruna KN3-Apr-23 3:48 
QuestionPHP 8.1 Count issue Pin
Aruna KN30-Mar-23 0:06
Aruna KN30-Mar-23 0:06 
AnswerRe: PHP 8.1 Count issue Pin
Richard MacCutchan30-Mar-23 0:45
mveRichard MacCutchan30-Mar-23 0:45 
AnswerRe: PHP 8.1 Count issue Pin
Richard Deeming30-Mar-23 0:45
mveRichard Deeming30-Mar-23 0:45 
You haven't explained what "not working" means. The only notable difference documented in that function between v7 and v8 is:
Prior to PHP 8.0.0, if the parameter was neither an array nor an object that implements the Countable interface, 1 would be returned, unless value was null, in which case 0 would be returned.
So either you're now getting a TypeError where previously you were just counting the number of rows; you're now getting the sum of the string lengths, whereas previously you were counting the number of rows; or something else is happening, which you haven't explained.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: PHP 8.1 Count issue Pin
Aruna KN30-Mar-23 1:38
Aruna KN30-Mar-23 1:38 
GeneralRe: PHP 8.1 Count issue Pin
Richard Deeming30-Mar-23 2:53
mveRichard Deeming30-Mar-23 2:53 
GeneralRe: PHP 8.1 Count issue Pin
Aruna KN30-Mar-23 3:21
Aruna KN30-Mar-23 3:21 
QuestionIf command triggering at wrong time with PHP 8.1 Pin
Aruna KN29-Mar-23 18:56
Aruna KN29-Mar-23 18:56 
AnswerRe: If command triggering at wrong time with PHP 8.1 Pin
Richard Deeming29-Mar-23 21:22
mveRichard Deeming29-Mar-23 21:22 
GeneralRe: If command triggering at wrong time with PHP 8.1 Pin
Aruna KN29-Mar-23 21:27
Aruna KN29-Mar-23 21:27 
GeneralRe: If command triggering at wrong time with PHP 8.1 Pin
Aruna KN29-Mar-23 22:15
Aruna KN29-Mar-23 22:15 
QuestionBlank space or NULL with PHP 8.1 Pin
Aruna KN14-Mar-23 22:57
Aruna KN14-Mar-23 22:57 
AnswerRe: Blank space or NULL with PHP 8.1 Pin
Richard MacCutchan15-Mar-23 7:10
mveRichard MacCutchan15-Mar-23 7:10 
QuestionPHP Fatal error: Uncaught TypeError: count() Pin
Aruna KN10-Mar-23 20:17
Aruna KN10-Mar-23 20:17 
AnswerRe: PHP Fatal error: Uncaught TypeError: count() Pin
Graham Breach11-Mar-23 1:45
Graham Breach11-Mar-23 1:45 
GeneralRe: PHP Fatal error: Uncaught TypeError: count() Pin
Aruna KN11-Mar-23 16:32
Aruna KN11-Mar-23 16:32 
Questionhtaccess %3F redirect issue Pin
Aruna KN10-Mar-23 19:40
Aruna KN10-Mar-23 19:40 
QuestionHow to develop a game using implement the api Pin
piumini sakunthala2-Feb-23 21:06
piumini sakunthala2-Feb-23 21:06 
QuestionRe: How to develop a game using implement the api Pin
Richard MacCutchan2-Feb-23 21:41
mveRichard MacCutchan2-Feb-23 21:41 
QuestionWordpress shortcode prints wrong value from custom post type Pin
moinmobility9-Oct-22 7:36
moinmobility9-Oct-22 7:36 
Questionimplement ElFinder in PHP language Pin
Alexis Sanchez Vanegas19-May-22 4:28
Alexis Sanchez Vanegas19-May-22 4:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.