mysql
#2

pawn Код:
mysql_query("SELECT NULL FROM table1 WHERE somefield1 LIKE 'a' ");
The code above will search all rows of data where the field name is 'somefield1' and where the row content is just 'a', the query won't select any data, the only thing you can do is mysql_num_rows (seeing as you're selecting NULL).
Reply


Messages In This Thread
mysql - by iJumbo - 06.11.2010, 10:27
Re: mysql - by Calgon - 06.11.2010, 11:04
Re: mysql - by iJumbo - 06.11.2010, 11:10

Forum Jump:


Users browsing this thread: 2 Guest(s)