Menu
I have the following that will give me the result of my sql statement, but I am only returning 1 row, so I don’t think I need to use the mysql_fetch_array function. How would I best get just 1 row and assign it to my variable?
[code]
$sql = “SELECT content from bible_verses where display_date=’$today'”;
$result = mysql_query($sql);
while($row = mysql_fetch_array($result, MYSQL_ASSOC)){
$content = $row[‘content’];;
}
Thanks!