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

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

what is the latest release version of PHP.

I get this error every time I execute a php program. PHP Warning: Module 'gd' already loaded in Unknown on line 0 PHP Warning: Module 'mysql' already loaded in Unknown on line 0

I get a PHP error - maximum execution time exceeded. What is this?

I have 2 forms in one website... What do I name the php files for each form? The first php file is named: send_form_email.php, what do I name the second, or do they both go in the same php file?

Parse error in PHP - unexpected T_variable at line x. What is this error?



Custom Search