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

when i run this script

I need to set the object variable at run time, it is working, but PHP returns me: Creating default object from empty value (/sct/fw FW_List.class.php:1142) function set Template (&$object, $tpl_names){ foreach($tpl_names as $tpl_type) { $

I get a Parse error on my login page... need some help please!

I have had a login script on a website for a few months working fine without a problem. But the pastfew days it now returns an error. This is the error: Parse error: syntax error, unexpected '{', expecting '(' in D:Hosting6189501htmllog.php on li

Dear all, i am using the Ireport to do the interface of my report and i want to combine it with the ATK Framework using Zend studion. but when i click "Print"(cetak), the page is blank. and the url showing the nokp=array. is there anything wr



Custom Search