U3F1ZWV6ZTc5OTgzNDMxMzE1MzJfRnJlZTUwNDYwNDY0NzA3Nzc=
Warning: Illegal offset type
Php

Warning: Illegal offset type

Question : Warning: Illegal offset type  - This warning message can appear when you use a Function, an Array, an Object, or other incorrect value as the index /key of an Array element. $id = function(){ return 8; };  $aray[$id] = 'https://…

Read more
Warning: functionname() expects parameter X to be  a type given
Php

Warning: functionname() expects parameter X to be a type given

Question: Warning: functionname() expects parameter X to be a type  Calling a function (most commonly a database function such as [FPHP]mysql_fetch_assoc[/FPHP]) results in warning error. Caus…

Read more
Headers already sent (Also applies to [FPHP]session_start[/FPHP] failure)
Php

Headers already sent (Also applies to [FPHP]session_start[/FPHP] failure)

Question: Headers already sent (Also applies to [FPHP]session_start[/FPHP] failure) Symptom: Error message declares headers already sent, when attempting to use the [FPHP]header[/FPHP] or [FP…

Read more
My database Mysql query doesn’t work.
Mysql

My database Mysql query doesn’t work.

Question:   My database query doesn’t work. Unexpected results or non-execution of a SQL (mySQL,msSQL,PDO,etc) query. Cause: Varied Solution: First and foremost, echo out your query to see if it is actually getting the variables you believe it…

Read more
The White Page of Syntax Errors (WPSE, or “Whoops”)

The White Page of Syntax Errors (WPSE, or “Whoops”)

Question: The White Page of Syntax Errors (WPSE, or “Whoops”) Symptom: A blank page appears rather than any of your pretty layout or other elements. Cause: Fatal Error preventing display. Solut…

Read more
How to read all ligne of a file using php ?
Php

How to read all ligne of a file using php ?

Question :   how to read all ligne of a file using php language ?  i try this : $handle = fopen("inputfile.txt"); Solution : file (PHP 4, PHP 5, PHP 7) file - Read the file and re…

Read more
The date () function returns previous date
Mysql

The date () function returns previous date

Question : I utilized a basic content to refresh the present date at the server side through hag work yet it returns past date. The windows date is right. I attempted to check the content in…

Read more
How can I remove a specific item from an array in javascript?
Javascript

How can I remove a specific item from an array in javascript?

Question : I have a variety of numbers, and I'm utilizing the .push() strategy to add components to it.  Is there a straightforward method to expel a particular component from a cluster?  …

Read more