final keyword in php

Final keyword id used to create final class and final methods. Final class is not allowed to inherit from drive/child class. Final method is not allowed to overridden in drive/child class. Syntax of Final Class Syntax of Final Method Notes:-If you try to inherit final class then get Error- "Fatal error: Class xyz may not inherit from final class (Maincls)" Notes:-If you try to override final method then get ...

Read more

How to start opencart

Some important steps to start OpenCart Opencart provide naming conversion for controller,model and view in camel case Like:-Controller(folder)/manish.php OR Opencart provide naming conversion for controller,model and view in camel case Like:-Controller(folder)/Test(folder)/test.php Rename config-dist.php to config.php is missing to installation time select driver for database mysqli or mpdo select mpdo afte ...

Read more

Error handling in php

Type of Errors 1: E_ERROR 2: E_WARNING 4: E_PARSE 8: E_NOTICE 16: E_CORE_ERROR 32: E_CORE_WARNING 64: E_COMPILE_ERROR 128: E_COMPILE_WARNING 256: E_USER_ERROR 512: E_USER_WARNING 1024: E_USER_NOTICE 2048: E_STRICT 4096: E_RECOVERABLE_ERROR 8192: E_DEPRECATED 16384: E_USER_DEPRECATED Code for Custom Error ...

Read more

How to use join in mysql

JOIN is used to get records from two or more tables. Type of join JOIN Self JOIN LEFT JOIN RIGHT JOIN FULL JOIN Join It is used to get all rows when there is at least one match in both tables. Self Join It is used to join with itself (same table). LEFT Join It is used to get all rows from the left table, and the matched rows from the right table RIGHT Join It is used to get all rows from the right table, an ...

Read more

How to use putty

Some steps to use putty First download putty then open putty and enter host name or ip open cmd prompt enter login then enter password then goto any folder using cd (cd public_html) command Back to one level folder using cd<space>../ (cd ../) command move to superuser using su<space>- (su -) command To creat and edit files using vi (vi filename.php) command then open file before writing press i ...

Read more

How to use MySQL Events?

MySQL events were added in MySQL 5.1.6 and offer an alternative to scheduled tasks and cron jobs. Events can be used to create backups, delete stale records, aggregate data for reports, and so on. Unlike standard triggers which execute given a certain condition, an event is an object that is triggered by the passage of time and is sometimes referred to as a temporal trigger. You can schedule events to run e ...

Read more

CCAvenue Payment Gateway

Login from ccavenue.com Goto setting tab then click on the API keys Get merchant_id,access_code and working_key is Encryption Key HTML FORM ccavRequestHandler.php page Crypto.php page ccavResponseHandler.php page ...

Read more

© 2014 Powered By