Hola este es el codigo que quisiera que me pudiesen explicar porque me estoy iniciando en programacion PHP y no lo entiendo muy bien, porfavor me pueden contestar en un tiempo corto.
<?
require_once("db_fns.php");
function get_user_urls($username)
{
//extract from the database all the URLs this user has stored
if (!($conn = db_connect()))
return false;
$result = mysql_query( "select bm_URL from bookmark where username = '$username'");
if (!$result)
return false;
//create an array of the URLs
$url_array = array();
for ($count = 1; $row = mysql_fetch_row ($result); ++$count)
{
$url_array[$count] = $row[0];
}
return $url_array;
};