Revision: 9543
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 11, 2008 11:23 by ginoplusio
Initial Code
function execute_row($sql) { $rs = mysql_query($sql) or die(mysql_error().$sql); if (mysql_num_rows($rs)) { $r = mysql_fetch_array($rs); mysql_free_result($rs); return $r; } mysql_free_result($rs); return ""; }
Initial URL
http://www.barattalo.it/
Initial Description
make a query and retrieve the first record, if error occurs show it and the query.
Initial Title
execute row (retrieve one row)
Initial Tags
mysql
Initial Language
PHP