Sponsored Content
The Lounge What is on Your Mind? For Indian Members: What City Do You Live? Post 302461222 by syed2011 on Saturday 9th of October 2010 07:03:51 AM
Old 10-09-2010
Hyderabad is always my favorite spot for enjoyment. Its a city safe from all nature disaster.
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

city wide connection

what would be the best way to phyisically connect a series of computerised bus stops to a central computer in a city-wide network?? (3 Replies)
Discussion started by: spitfireuk1
3 Replies

2. What is on Your Mind?

For China members:which city do you live?

hi guys: i am live in Changsha China , i am study here . which city do you live? (1 Reply)
Discussion started by: kingdream
1 Replies

3. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates" The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
MAXDB_INFO(3)								 1							     MAXDB_INFO(3)

maxdb_info - Retrieves information about the most recently executed query

       Procedural style

SYNOPSIS
string maxdb_info (resource $link) DESCRIPTION
Object oriented style string$maxdb->info () The maxdb_info(3) function returns a string providing information about the last query executed. The nature of this string is provided below: Possible maxdb_info return values +---------------------------------------+----------------------------------------------+ | Query type | | | | | | | Example result string | | | | +---------------------------------------+----------------------------------------------+ | INSERT INTO...SELECT... | | | | | | | Records: 100 Duplicates: 0 Warnings: 0 | | | | |INSERT INTO...VALUES (...),(...),(...) | | | | | | | Records: 3 Duplicates: 0 Warnings: 0 | | | | | LOAD DATA INFILE ... | | | | | | | Records: 1 Deleted: 0 Skipped: 0 Warnings: 0 | | | | | ALTER TABLE ... | | | | | | | Records: 3 Duplicates: 0 Warnings: 0 | | | | | UPDATE ... | | | | | | | Rows matched: 40 Changed: 40 Warnings: 0 | | | | +---------------------------------------+----------------------------------------------+ Note Queries which do not fall into one of the above formats are not supported. In these situations, maxdb_info(3) will return an empty string. RETURN VALUES
A character string representing additional information about the most recently executed query. EXAMPLES
Example #1 Object oriented style <?php $maxdb = new maxdb("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } $maxdb->query("CREATE TABLE temp.t1 LIKE hotel.city"); /* INSERT INTO .. SELECT */ $maxdb->query("INSERT INTO temp.t1 SELECT * FROM hotel.city"); printf("%s ", $maxdb->info); /* close connection */ $maxdb->close(); ?> Example #2 Procedural style <?php $link = maxdb_connect("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } maxdb_query($link, "CREATE TABLE temp.t1 LIKE hotel.city"); /* INSERT INTO .. SELECT */ maxdb_query($link, "INSERT INTO temp.t1 SELECT * FROM hotel.city"); printf("%s ", maxdb_info($link)); /* close connection */ maxdb_close($link); ?> The above example will output something similar to: Records: 25 Duplicates: 0 Warnings: 0 SEE ALSO
maxdb_affected_rows(3), maxdb_warning_count(3), maxdb_num_rows(3). PHP Documentation Group MAXDB_INFO(3)
All times are GMT -4. The time now is 02:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy