prev> <next
Last updated: Fri, 24 Feb 2012

pos

(PHP 4, PHP 5)

posSinônimo de current()

Descrição

Esta função é um apelido para: current()



User Contributed Notes
pos
sirmagid at gmail dot com
27-Apr-2012 03:25
mysql_connect("localhost", "2", "2") or die(mysql_error());
mysql_select_db("m_1") or die(mysql_error());
$data = mysql_query("SELECT * FROM b_1")
or die(mysql_error());
//print '<select size="0" name="m">';  // if you want list
while($info = mysql_fetch_array( $data ))
{
$list=$info['f_1'];
//---------------------
print current($info);
//----------------------
//print '<option value="0">'.$k.'-'.$list.'</option>';
}
//print '</select>';
mysql_close();
}

/* THE ABOVE "EXAMPLE USAGE" OUTPUTS:
12345789000
*/

prev> <next
Last updated: Fri, 24 Feb 2012