This is my table "OPTIONS"

Here i need to get site_logo,facebook and twitter values only from single mysql query.
Thank you
As simple as it is..
SELECT id,option_key,option_value FROM options
or
SELECT * FROM options
You can do like this Using PDO
$dbh = new PDO("mysql:dbname=pages;host=localhost", "username", "password");
$sth = $dbh->prepare('SELECT id,option_key,option_value FROM options');
$sth->execute();
SELECT * FROM options` then, in the PHP:
while ($row=MySQLi_fetch_assoc($result))
{
echo "<option value=\"".htmlspecialchars($row['option_value'])."\">".
htmlspecialchars($row['option_key'])."</option>";
}
htmlspecialchars for this approach
select * from options