Date: 11/24/00
- Next message: Jesse Swensen: "Re: [phplib] the "Group by" Function Problem"
- Previous message: rquinn <email protected>: "[phplib] db_mysql.inc Last Insert ID?"
- Next in thread: Jesse Swensen: "Re: [phplib] the "Group by" Function Problem"
- Reply: Jesse Swensen: "Re: [phplib] the "Group by" Function Problem"
- Reply: rquinn <email protected>: "AW: [phplib] the "Group by" Function Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi my friends,
this problem is rather a MySQL Statement problem than a phplib problem.
But I want to use the $db->f() function :))).
When I want to get the highest value of a column of a table the following
statement would return the right output on the mysql-client.
SELECT MAX(demo_id) FROM Match_demo;
But how can I get a useable result returned as a row that I can get the
highest value of
column by using the $db->f("demo_id") function ???
The statement above doesnt return a row, so the f()-functione wouldn´t fit
here !
Thank you for help !
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Jesse Swensen: "Re: [phplib] the "Group by" Function Problem"
- Previous message: rquinn <email protected>: "[phplib] db_mysql.inc Last Insert ID?"
- Next in thread: Jesse Swensen: "Re: [phplib] the "Group by" Function Problem"
- Reply: Jesse Swensen: "Re: [phplib] the "Group by" Function Problem"
- Reply: rquinn <email protected>: "AW: [phplib] the "Group by" Function Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

