Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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'];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #query #single #row
ADD COMMENT
Topic
Name
1+6 =