Skip to main content

PHP/MySQL > récup nombres de champs et nom des champs d'une t...

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Bookmark History

Saved by 1 people (0 private), first by anonymouse user on 2008-12-15


Public Sticky notes

$fields = mysql_list_fields("base_de_donnees", "table" ); //récupère tout les champs d'un table
$num_de_champs = mysql_num_fields($fields);

PS : le script du 1er qui t'as répondu marche aussi.

Highlighted by nekochat