PHP | odbc_close() Function

PHP odbc_close() Function

Hello folks! welcome back to a new edition of our tutorial on PHP. In this tutorial guide, we are going to be studying about the PHP odbc_close() Function.

The built-in odbc_close() function is used to close an odbc connection.


Following below is the syntax to use this function -

void odbc_close ( resource $connection_id )

Parameter Details

Sr.NoParameters & Discription


it contains connection id information

Return Value

This function does not return any value.


Try out the following example below -

   $input_ID = odbc_open("Webdesigntutorialz","user","pass");

Alright guys! This is where we are going to be rounding up for this tutorial post. In our next tutorial, we are going to be discussing about the built-in odbc_columnprivileges() Function in PHP.

Do feel free to ask your questions where necessary and we will attend to them as soon as possible. If this tutorial was helpful to you, you can use the share button to share this tutorial.

Do follow us on our various social media handles available and also subscribe to our newsletter to get our tutorial posts delivered directly to your emails.

Thanks for reading and bye for now.