How to set array for only one value from a mysql query in php?

Namibnat

New member
I have this query:

include 'DB_connection.php';
$result = mysql_query("SELECT * FROM post WHERE zitime = $_ptimeValref;");
$_postVals = mysql_fetch_assoc($result);

What would be the best way to set that query to a single array, giving me only those time values that I am searching for. Basically it is a set of unix times, drawn out from a mysql database table.
 
Back
Top