Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ingres_charset(3) [php man page]

INGRES_CHARSET(3)							 1							 INGRES_CHARSET(3)

ingres_charset - Returns the installation character set

SYNOPSIS
string ingres_charset (resource $link) DESCRIPTION
ingres_charset(3) is called to determine the character set being used by the Ingres client, from II_CHARSETxx (where xx is the installation code). Note You can override the value returned by using the function putenv(3). Changing the value of II_CHARSETxx in a running Ingres instal- lation can cause data corruption. PARAMETERS
o $link - The connection link identifier RETURN VALUES
Returns a string with the value for II_CHARSETxx or returns NULL if the value could not be determined. EXAMPLES
Example #1 ingres_charset(3) - Get the installation character set <?php $link = ingres_connect($database, $user, $password); echo ingres_charset($link) . " "; ingres_close($link); ?> SEE ALSO
ingres_connect(3), ingres_query(3). PHP Documentation Group INGRES_CHARSET(3)

Check Out this Related Man Page

INGRES_FETCH_PROC_RETURN(3)						 1					       INGRES_FETCH_PROC_RETURN(3)

ingres_fetch_proc_return - Get the return value from a procedure call

SYNOPSIS
int ingres_fetch_proc_return (resource $result) DESCRIPTION
This function is used to retrieve the return value following the execution of an Ingres database procedure (stored procedure). Note If used with a row-producing procedure, this function should be called after all the rows from the procedure have been fetched using ingres_fetch_array(3), ingres_fetch_object(3) or ingres_fetch_row(3). This function will eliminate any rows yet to be fetched should there be any left over. PARAMETERS
o $result - The result identifier for a query RETURN VALUES
Returns an integer if there is a return value otherwise it will return NULL. EXAMPLES
Example #1 Get the return value from a procedure call <?php $link = ingres_connect($database); if ( ingres_errno() != 0 ) { $error_text = ingres_error(); die($error_text); } $result = ingres_query($link, "execute procedure php_proc (value = 1000)"); if ( ingres_errno() != 0 ) { $error_text = ingres_error(); die($error_text); } echo "return value - " . ingres_fetch_proc_return($result) . " "; ingres_close($link); ?> SEE ALSO
ingres_query(3), ingres_fetch_array(3), ingres_fetch_object(3), ingres_fetch_row(3). PHP Documentation Group INGRES_FETCH_PROC_RETURN(3)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

copy, clear and keep to new data only

I have an Ingres database logfile that grows constantly, iircp.log. It is always "attached" to the Ingres process that uses it, and I do not want to screw up the data. I have been copying it to another directory and then using vi on the original to reduce the size 34000 lines at a time. What I want... (1 Reply)
Discussion started by: sarge
1 Replies

2. AIX

Problem with nim installation

Dear Frnz, I have a strange problem with nim installation. I am able to push the image from Nim server to the client and the Os is reinstalled successfully.But after the installation the client doesnt hold any host name or ip address.That is the host name is assigned as local host and ip is... (2 Replies)
Discussion started by: sriram.s
2 Replies

3. IP Networking

Problem configuring NIC in DGUX

Old DG box Aviion PentiumPro running R4.20Mu06 being used to try to recreate Ingres db from backup tapes so machine has not been operational before and some of original files in /etc may have ben overwritten Unable to get NIC working Any pointers on how to go about configuring NIC :rolleyes: (0 Replies)
Discussion started by: lindab
0 Replies

4. Red Hat

myri10ge no link

Hi, I did a fresh installation of Fedora17. After installation i notice my myri10ge ethernet card unable get link but the other two cards works ok. dmesg shows this. there's no mac address defined in dmesg. Could this be the cause? how to bind the mac address to this card? ifcfg-eth2 do have mac... (1 Reply)
Discussion started by: suresh7730
1 Replies