Return to Snippet

Revision: 4856
at January 24, 2008 09:59 by AgentPhoenix


Initial Code
$sql = "SELECT * FROM table WHERE column = 1";
$result = mysql_query( $sql );

while( $fetch = mysql_fetch_array( $result ) ) {
	extract( $fetch, EXTR_OVERWRITE );
}

Initial URL

                                

Initial Description

                                

Initial Title
While Loop from MySQL Query

Initial Tags
mysql

Initial Language
PHP