Over a million developers have joined DZone.

Database Connection Chunk

·

mysql_select_db($database_conname, $conname);

$query_name = "SELECT * FROM tablename ORDER BY column DESC LIMIT 0, 10";
$name = mysql_query($query_name, $conname) or die(mysql_error());
$row_name = mysql_fetch_assoc($conname);
$totalrows_name = mysql_num_rows($conname);
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}