Ok so Im just fine making a query and outputting the entire result set. What I need is to just select a single row of a result set so as to avoid making a whole new query for that single row/cell. For example
$query = "SELECT * FROM books";
$query_result = mysql_query($query,$connection);
while($book = mysql_fetch_array($query_result){
output... (have no problem outputting the whole result set)
}
Im just wondering what it would take to select a single row of the result set…or a single cell without making a whole new query. Thanks so much!
if you are selecting all your rows anyway but also need some particular row beside the whole result set, you can save it in a variable