Selecting record using a variables


May I know what is the proper command in sellecting all the record using a variables?

mysql_query("SELECT * FROM " . $tablename . " WHERE Date='" . $vdate . "' AND ProcessType='" . $vprocess . ");	

In my code the variables I need to select is process1, process2 and process 3. What if I need to select all 3? What is the command? ‘*’ is not working.


Sponsor our Newsletter | Privacy Policy | Terms of Service