mysql counting rows
#1

Hello, this is SQLite, can someone make me the same idea but in MySQL
Can someone help me please?
Код:
new DBResult:qresult, count = 0;
	qresult = db_query(DB: HOUSEDB, "SELECT * FROM `houses`");
	if(db_num_rows(qresult) == 0)
	{
		print("No houses were found in the database.");
	}
Reply


Messages In This Thread
[+REP] MySQL Counting rows - by E7mad - 03.02.2016, 12:42
Re: mysql counting rows - by Vince - 03.02.2016, 12:51
Re: mysql counting rows - by E7mad - 03.02.2016, 12:54
Re: mysql counting rows - by E7mad - 03.02.2016, 13:59
Re: mysql counting rows - by ikey07 - 03.02.2016, 14:08
Re: mysql counting rows - by E7mad - 03.02.2016, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)