PHP/MySQL Database/sqlite field name
Версия от 10:37, 26 мая 2010; (обсуждение)
sqlite_field_name.php
<?php
$sqldb = sqlite_open("mydatabase.db");
$results = sqlite_query($sqldb,"SELECT * FROM employee");
echo "Field name found at offset #0: ".sqlite_field_name($results,0)."<br />";
echo "Field name found at offset #1: ".sqlite_field_name($results,1)."<br />";
echo "Field name found at offset #2: ".sqlite_field_name($results,2)."<br />";
sqlite_close($sqldb);
?>