Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetGamelist()
- {
- $con = InitializeDatabaseConnection();
- $retValue = array();
- if($con)
- {
- $result = mysql_query("SELECT id, name, imagefolder FROM game ORDER BY name ASC", $con);
- if(mysql_num_rows($result) > 0)
- {
- while($row = mysql_fetch_assoc($result))
- {
- $retValue[] = $row;
- }
- }
- }
- return $retValue;
- }
Add Comment
Please, Sign In to add comment