Assuming the snippet is correct, your function is not spelled correctly.
You should be using mysql_field_name() or mssql_field_name() (MySQL or MS
SQL respectively).
Jon Bertsch
[snip]
When I write: echo "".msql_field_name($result). "";
I get the error message:
Fatal error: Call to undefined func
* Thus wrote Mark:
> I use MySQL: C:\mysql\bin>mysqladmin version status proc
> C:\MYSQL\BIN\MYSQLA~1.EXE Ver 8.40 Distrib 4.0.20a, for Win95/Win98 on i32
> Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
> This software comes with ABSOLUTELY NO WARRANTY. This is free software,
I use MySQL: C:\mysql\bin>mysqladmin version status proc
C:\MYSQL\BIN\MYSQLA~1.EXE Ver 8.40 Distrib 4.0.20a, for Win95/Win98 on i32
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to mod
Thanks for the tips.
I do not know what you mean by a DESCRIBE table query.
I hope that my "problem" is clear to you. I want to be able to use
queries for MySQL. I am learning from the book PHP & MySQL
for dummies. All the learning material uses PHP functions like
mysql_field_name, but this does
[snip]
Please check my php file.
[/snip]
III. And never, ever send attachments unless requested to do so.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Instead of the actual column name it gives Object id #3 as a default for
the column name or header.
See here:
Database Selected:
Query: SHOW DATABASES;
Results
[/snip]
a. always reply beck to the list in the event that whoever may have
responded hasn't disappeared for some reason, which m
[snip]
Yes, it is. Other functions like mysqli_fetch_field work well. I have to
use mysqli functions, but I cannot find the one for
mysql_field_name. Normally I have to add the i for a function, but
mysqli_field_name does not exist.
[/snip]
What about mysqli_fetch_field or mysqli_fetch_fields ?
-
[snip]
Thanks, but I have tried this one as well as many others. It did not
help.
Mark
[snip]
When I write: echo "".msql_field_name($result). "";
I get the error message:
Fatal error: Call to undefined function msql_field_name() in c:\Program
Files\Apache Group\Apache\htdocs\mysqli_send.php on l
Thanks, but I have tried this one as well as many others. It did not help.
Mark
"Jay Blanchard" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED]
[snip]
When I write: echo "".msql_field_name($result). "";
I get the error message:
Fatal error: Call to undefined function msql_field_nam
[snip]
When I write: echo "".msql_field_name($result). "";
I get the error message:
Fatal error: Call to undefined function msql_field_name() in c:\Program
Files\Apache Group\Apache\htdocs\mysqli_send.php on line 37
[/snip]
If you are using (as has been pointed out before) MySQL the correct name
On Wednesday 04 August 2004 18:02, Mark van Beneden wrote:
> When I write: echo "".msql_field_name($result). "";
> I get the error message:
> Fatal error: Call to undefined function msql_field_name() in c:\Program
> Files\Apache Group\Apache\htdocs\mysqli_send.php on line 37
May I ask what DB you
11 matches
Mail list logo