[Solved] what is the correct syntax for this SQL SELECT statement


select query will be something like below for selecting particular field

$sql = "SELECT `coloumname1`,`coloumname2` from `tablename` where `someid`='matchingvalue'";

for selecting all the field sql query will be like below

$sql = "SELECT * from `tablename` where `someid`='matchingvalue'";

hope you understand this, so from next time please google first and than come here if not find the answer in google

solved what is the correct syntax for this SQL SELECT statement