<?
# ########## mysql_fetch_object ############################
# permet d'extraire rapidement un array provenant de mysql #
# il suffit de creer l'array et d'appeller ses champs:     #
# $array -> nomChamps                                      #
############################################################
$konnect=mysql_connect("localhost","nobody","");
$konnect=mysql_select_db("radeff");

$result = mysql_query("select # from signets order by name");
if($result) {

    while($links=mysql_fetch_object($result))
    {
    echo $links->url ."<br>";
    }
} else {
echo "Problem with your SQL query";
}

?>
  • info/mysql/mysqlfetchobject.txt
  • Dernière modification : 2026/03/05 09:52
  • de radeff