PHP Questions Home
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

I get a PHP warning for array to string conversion - what is this?


Exactly what it says on the tin - you are converting an array to a string in your script. This usually happens when you get confused and pass the wrong variable name to a function, and really want to be passing a different variable. Or perhaps it is just that you have used a function incorrectly without realising what it returns or what it takes as input.

Comments on this Question/Answer

How many times the user function called in array_udiff()
By: vimal, 20 Oct 2009 05:37:07



Reply to comments / post your own comment >>>

ASK A QUESTION

More errors PHP Questions

I was learning about cookies and create a simple page to set a cookie as follow: Cookies when I check with firefox I can see that the cookie exist under the local host folder however when i want to cal

I don't have the dumps to study for the assessment. Is there any possibility I could pass in the assessment without copy pasting.. expecting a fast reply.. please reply asap! :)

Can someone please help me figure out why I am getting these errors: Warning: include_once(accounts-page2.php) [function.include-once]: failed to open stream: No such file or directory in /homepages/23/d333580784/htdocs/filemanager/files/utils-page2.ph

How can i fix my internet webpage?

I get a PHP notice for string to array conversion - help?



Custom Search