Hi. I am new in forum. I am learning PHP programming language. Right now I have little bit knowledge of PHP. I want to know about the PHP data objects. If you are having any suggestions then reply me. It can helpful to me. Thanks in advanced.
Hi. I am new in forum. I am learning PHP programming language. Right now I have little bit knowledge of PHP. I want to know about the PHP data objects. If you are having any suggestions then reply me. It can helpful to me. Thanks in advanced.
Following are the predefined constants:
• PDO: PARAM_BOOL (integer) - stand for data type boolean.
• PDO: PARAM_NULL (integer) - stand for data type of SQL NULL.
• PDO: PARAM_INT (integer) - stand for data type INTEGER SQL.
• PDO: PARAM_STR (integer) - stand for data types CHAR, VARCHAR, or other types of data in a SQL string.
• PDO: PARAM_STMT (integer) - stand for a type of game results. Not currently supported by all drivers.
When php.ini should be updated to PDO extension laden automatically when PHP comes into operation. You also want to allow drivers particular to your database, ensure that these drivers will be listed after the line pdo.so, as PDO should be states before loading the extensions particular to databases.
• extension = pdo.so
If you are using the Windows, PDO and all the main drivers’ ship with PHP as shared extensions, and just require to be activated by editing the php.ini file:
• extension = php_pdo.dll
Bookmarks