Toms Homepage
  Home    Downloads    Your Account    Forums  
  Create an account
Modules
· Home
· Games
· My Gallery
· PHP Manual
· PHP-Nuke HOWTO
· Web Links
· Your Account
 
Who's Online
Welcome, Anonymous
Nickname

Password

Security Code
Security Code
Type Security Code


(Register)

Membership:
Latest: LeighRoma
New Today: 76
New Yesterday: 334
Overall: 62705

People Online:
Visitors: 73
Members: 12
Total: 85

Online Now:
COM NicolasBi
 MaurineHo
 AIYDawna
 MozelleHu
NET ArlethaPh
Turkey MDOMarina
 FinlayPos
COM DawnaKohl
COM DennyBril
 LeighRoma
France Dee3382
 donovancrane
 
mysql_field_table

mysql_field_table

(PHP 3, PHP 4 , PHP 5)

mysql_field_table --  Get name of the table the specified field is in

Description

string mysql_field_table ( resource result, int field_offset )

Returns the name of the table that the specified field is in.

Example 1. A mysql_field_table() example

<?php
$result
= mysql_query("SELECT name,comment FROM people,comments");
if (!
$result) {
    echo
'Could not run query: ' . mysql_error();
    exit;
}

// Assuming name is in the people table
$table = mysql_field_table($result, 'name');
echo
$table; // people
?>


For downward compatibility mysql_fieldtable() can also be used. This is deprecated, however.

See also mysql_list_tables().

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004 by Tom Nitzschner.
Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.108 Seconds

:: VereorLCARS phpbb2 style by Vereor :: PHP-Nuke theme by www.nukemods.com ::