473,513 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

count function for select query

1 New Member
Object of class CI_DB_mysqli_result could not be converted to string
Dec 15 '17 #1
3 2292
Luuk
1,047 Recognized Expert Top Contributor
Probably you will need this num_rows, but if that's not the case, please post your code.
Dec 16 '17 #2
SELexie80
1 New Member
Please post your code.
Dec 18 '17 #3
Luuk
1,047 Recognized Expert Top Contributor
@SELexie80: What does your comment add to this thread?
Dec 18 '17 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
6527
by: John Furphy | last post by:
Could someone assist with getting the count function working correctly in this example please. I know the count function will return all rows that do not have null values, but in this case I want...
2
1445
by: David Gill | last post by:
Hi I have the following problem, which I am sure is easy to resolve for many Access users. A table contains the following fields: 1) Student_Id 2) Results_Id Problem : I wish to create a...
3
13943
by: auron | last post by:
Hi there, I have a really stupid and banal problem with showing the results of a MySQL query in PHP, preciselly with MySQL count() function that gives to a variable in PHP the result. NOTE:...
1
4321
by: loki419 | last post by:
I have a simple select query that produces results similar to this LOCATION FUNCTION 001 1111 001 1111 100 1111 100 ...
0
7487
by: djflow | last post by:
Hi! II was wondering if you can help me with SQL query.. Below 7 separated select query works fine(only when they are retrieved separately) But I want to combined them together and so that i...
5
1992
by: jslssuze | last post by:
I created a database with registration information and my query works well on simply the count of people registered. Instead of count, however, my clients wants number of spaces available (i.e....
6
2124
by: padmaneha | last post by:
Hi I have created two tables which are movies table and videos table Columns of movies table are movie id, movietitle, moviereviewid and the select statement which I have written to fetch...
5
9112
by: lisles | last post by:
i have a page funtion.php which hs the function to connect to the db /* Mysql Connection */ function connect(){ global $db_server,$db_user,$db_pass,$db;//Global Values from the config.php...
0
1577
by: Lili | last post by:
hello, i have these queries in oracle: the first one i made it to get the count, and it is working. but when i try to run the second query in order to put records in count (*) to a.count it is...
1
1585
greeni91
by: greeni91 | last post by:
Hi, I am currently trying to create a report that list all the Features that have been checked and the metrology used to check said feature. I have created a UNION query that will combine the...
0
7267
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7553
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7120
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1609
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
466
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.