Answers for "mysql query single row"

SQL
0

mysql query single row

$result = mysql_query("SELECT option_value FROM wp_10_options WHERE option_name='homepage' LIMIT 1");
$row = mysql_fetch_assoc($result);
echo $row['option_value'];
Posted by: Guest on May-03-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language