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 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

Hi i have a problem in joomla: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 120 bytes) in /home/tjasm/domains/mnlgorica.si/public_html/libraries/joomla/language/language.php on line 798 the php file line is if ($st

( ! ) Parse error: syntax error, unexpected T_VARIABLE in C:wampwwwsessionindex.php on line 8

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

How can i fix my internet webpage?



Custom Search