PHP 2019-03-26 09:45

|
raj_eswar 2019-03-26 09:45:29
I think we need to use alias
H7H2000 2019-03-26 09:45:39
measn?
raj_eswar 2019-03-26 09:47:07
Mayank_theDevloper 2019-03-26 09:44:54
Brother use count(*) as temp and use temp variable in mysqli_fetch_array(temp)

As he mentioned

Select count(*) as some_name

raj_eswar 2019-03-26 09:48:08
change your query
H7H2000 2019-03-26 10:25:32
means how??
H7H2000 2019-03-26 10:26:42
luv_php-1619.jpg

H7H2000 2019-03-26 10:28:33
see
H7H2000 2019-03-26 10:28:40
dis how??
raj_eswar 2019-03-26 10:28:56
Did u get executed
H7H2000 2019-03-26 10:29:34
luv_php-1623.jpg

H7H2000 2019-03-26 10:29:37
see error
rohit267 2019-03-26 10:30:12
H7H2000 2019-03-26 10:28:33
see

If u want no of rows then use Select * from — then use mysqli _num_rows();

raj_eswar 2019-03-26 10:30:24
$sql=”select count(*) as counter from……..
Mayank_theDevloper 2019-03-26 10:30:37
H7H2000 2019-03-26 10:25:32
means how??

Select count(*) as temp and mysqli_fetch_array(temp)

H7H2000 2019-03-26 10:30:39
u anyone do??
raj_eswar 2019-03-26 10:31:34
raj_eswar 2019-03-26 10:30:24
$sql=”select count(*) as counter from……..

And use if($row[‘counter’] >3)

rohit267 2019-03-26 10:32:09
rohit267 2019-03-26 10:30:12
If u want no of rows then use Select * from — then use mysqli _num_rows();

Use this, do make php tough, its very eastmy

raj_eswar 2019-03-26 10:32:28
rohit267 2019-03-26 10:32:09
Use this, do make php tough, its very eastmy

Yes this works simple

H7H2000 2019-03-26 10:32:45
rows i tried but same error bro
raj_eswar 2019-03-26 10:33:14
raj_eswar 2019-03-26 10:31:34
And use if($row[‘counter’] >3)

Try this

rohit267 2019-03-26 10:33:16
In the query use Select * not Select count(*)
H7H2000 2019-03-26 10:33:36
but i want count bro
raj_eswar 2019-03-26 10:34:14
H7H2000 2019-03-26 10:33:36
but i want count bro

Change query select * and use mysqli_num_rows

raj_eswar 2019-03-26 10:34:16
Else
rohit267 2019-03-26 10:34:18
The use mysqli_num_rows
raj_eswar 2019-03-26 10:34:32
raj_eswar 2019-03-26 10:30:24
$sql=”select count(*) as counter from……..

This one

H7H2000 2019-03-26 10:34:44
wait let me try
rohit267 2019-03-26 10:34:58
Or u may have some spelling mistake in the table name or something check once
rohit267 2019-03-26 10:35:18
Try with if($res)
rohit267 2019-03-26 10:36:55
Or donate me something i will fix it using TeamViewer or AnyDesk
H7H2000 2019-03-26 10:37:50
no
rohit267 2019-03-26 10:38:54
Learn PHP
H7H2000 2019-03-26 10:39:15
ya i will
H7H2000 2019-03-26 10:40:25
raj_eswar 2019-03-26 10:31:34
And use if($row[‘counter’] >3)

bro same error

raj_eswar 2019-03-26 10:42:32
Did u change query
H7H2000 2019-03-26 10:42:40
yah
H7H2000 2019-03-26 10:44:00
wat nxt
raj_eswar 2019-03-26 10:55:33
R u getting same error
raj_eswar 2019-03-26 10:55:36
Share pic
H7H2000 2019-03-26 10:55:43
wait
rohit267 2019-03-26 11:08:18
1st learn pho then try
rohit267 2019-03-26 11:08:21
Or hire someone
H7H2000 2019-03-26 11:09:06
see if u knw php then u shuld hv done it tat means u also dont knw php….LOL!!!
rohit267 2019-03-26 11:23:06
See the time, it’s you who is in problem not me..
rohit267 2019-03-26 11:23:55
I have wrote lakhs of lines of php
rohit267 2019-03-26 11:27:40
luv_php-1663.jpg
See my projects list
rohit267 2019-03-26 11:34:57
And that’s very less, i mostly work directly on server through ftp
MrLankesh 2019-03-26 12:05:17
How to use frameset in bootstrap
2019-03-27 18:17:17
Hey everyone

I need some help with my bot

I want code for dialy bonus like bitcoin bots
Please help me 😄👍

2019-03-27 18:17:34
2019-03-27 18:17:17
Hey everyone

I need some help with my bot

I want code for dialy bonus like bitcoin bots
Please help me 😄👍

In php

|