I have the following query:
$result = mysql_query("SELECT option_value FROM wp_10_options WHERE option_name='homepage'");
$row = mysql_fetch_array($result);
print_r ($row);
and the output I get is:
Resource ID # 2
Ultimately, I want you to be able to display the subscription field as follows:
$row['option_value']
Without using a while loop, because since I'm only trying to get one field, I don't see the point.
I also tried using mysql_result.
Where am I going wrong?
Please do not lecture me on PDO or mysqli.
Mr D source
share