Speaking of MySQL, here is a segment of code that I find extremely useful and efficient for what it does (forgive the PHP 4)

PHP:
$Query = 'SELECT * FROM table WHERE 1=1'; $mysql_Query = mysql_query($Query); $i = 0; while($Query_data = mysql_fetch_assoc($mysql_Query)) { $mysql_array[$i] = $Query_data; $i++; }


Gets all the rows for a query as opposed to just one, as is done with mysql_fetch_assoc. I find it extremely awesome.


Edited by Gizmo (01/03/07 08:14 PM)
_________________________
[[ GamerSupport ] [ UGN Security ] [ Evil Hosting ] [ Comic Relief ]
~[Ghost]