Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Filter Recordset more than once?

Participant ,
Dec 26, 2009 Dec 26, 2009

I am using PHP MySQL

Hi I have a recordset being filtered using the code below:

$query_CurrentCVIP = "SELECT * FROM Community_Profiles WHERE `ACCESS` = 'CVIP'";

Is their any way to filter it by checking more than one value. For example:

WHERE 'ACCESS' = 'CVIP' and 'RANDOM' = "Test'

Is something like that possible?

Thanks for the Help

TOPICS
Server side applications
311
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Dec 26, 2009 Dec 26, 2009

Of course. A SQL where clause can contain multiple tests using either the AND or OR operators.

Translate
LEGEND ,
Dec 26, 2009 Dec 26, 2009
LATEST

Of course. A SQL where clause can contain multiple tests using either the AND or OR operators.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines