I use the script below to get one value out of a database: $result = mysql_query("select euro from brandstofprijzen where id=2") or die (mysql_error()); while ($row = mysql_fetch_array($result)) { $euro = $row["euro"]; } mysql_free_result($result);
This is working fine, but is there an easier (less code) way to do this? Thankx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php