Return to Snippet

Revision: 1239
at September 26, 2006 15:00 by collin


Initial Code
function mysql_select_one($sql)
{
	$r = mysql_query($sql) or mysql_fail();
	$a = mysql_fetch_array($r, MYSQL_NUM);
	return $a[0];
}

Initial URL

                                

Initial Description

                                

Initial Title
mysql_select_one

Initial Tags
mysql, php

Initial Language
PHP