Click here to Skip to main content
13,899,467 members
Rate this:
 
Please Sign up or sign in to vote.
recoverable fatal error: object of class mysqli could not be converted to string in

What I have tried:

if ($conn )
srver name and username and password i tried it with if statement too
Posted
Updated 2-Sep-18 16:03pm
Comments
TommoDotCommo 2-Sep-18 20:17pm
   
You'll need to post more of your code, [if(%conn)] is not enough.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

A quick google search reveals a lot of resources for you to look into to resolve your error.

Seeing as how you've provided no relevant code (a simple if statement isn't relevant, thats not meant as rude) this is probably the best you are going to get.

recoverable fatal error: object of class mysqli could not be converted to string in - Google Search[^]

First link in google looks promising.

php - Object of class mysqli_result could not be converted to string in - Stack Overflow[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190306.1 | Last Updated 2 Sep 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100