Posts: 1,113
Threads: 127
Joined: Jul 2008
Reputation:
0
Hello,
Let's say i have a Field named Level. How can i count how many rows are there which contain "2" in that field? Is it possible?
Posts: 194
Threads: 2
Joined: Mar 2012
Reputation:
0
SELECT Level FROM 'table' Where Level=2
count=mysql_num_rows();
Posts: 1,113
Threads: 127
Joined: Jul 2008
Reputation:
0
Thankyou guys. Another question: can I add info to an existing field. "UPDATE" changes the data,doesn't it?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
I'm not sure. But there is a CONCAT() function that you can use.
Posts: 1,113
Threads: 127
Joined: Jul 2008
Reputation:
0
Tell me more about CONCAT,please