Generated by All in One SEO v4.9.10, this is an llms.txt file, used by LLMs to index the site. # Bestone Technologies aims to provide the best ## Sitemaps - [XML Sitemap](https://bestonetechnologies.com/sitemap.xml): Contains all public & indexable URLs for this website. ## Posts - [How to Become a Web Developer in 2026](https://bestonetechnologies.com/blog/how-to-become-a-web-developer-in-2026.html) - Learn how to become a web developer in 2026 with this step-by-step guide for IT students in India. Includes roadmap, technologies, career opportunities, and FAQs. - [Top AI Tools Revolutionizing Productivity](https://bestonetechnologies.com/blog/top-ai-tools-revolutionizing-productivity.html) - Discover the top AI tools to boost your productivity and streamline your workflow. From writing assistants to project management tools, find the perfect AI-powered solutions for your needs - [Understanding Traits in PHP](https://bestonetechnologies.com/blog/understanding-traits-in-php.html) - Traits are a powerful feature introduced in PHP 5.4 to address these concerns. They provide a way to reuse code across different classes. - [PHP's array_values() Function](https://bestonetechnologies.com/blog/phps-array_values-function.html) - array_values() is a versatile PHP function used to extract all the values from an array and return them as a new indexed array - [Node.js Get Started](https://bestonetechnologies.com/blog/node-js-get-started.html) - Node.js is an open-source, cross-platform runtime environment built on Chrome’s V8 JavaScript engine. - [Node.js at a Glance](https://bestonetechnologies.com/blog/node-js-at-a-glance.html) - Node.js is an open-source, cross-platform JavaScript runtime built on Chrome's V8 engine. It lets developers run JavaScript on the server side. - [Triggers in MySQL](https://bestonetechnologies.com/blog/triggers-in-mysql.html) - Triggers are powerful and versatile tools that enable database administrators and developers to automate actions based on specific events or changes in the database. They act as stored programs, invoked automatically when a predefined condition occurs, such as data insertion, deletion, or modification. This blog explores the concept of triggers in MySQL, their benefits, and - [Power of MySQL CASE Statement](https://bestonetechnologies.com/blog/power-of-mysql-case-statement.html) - One key feature that sets MySQL apart is the CASE statement, which enables developers to implement conditional logic within their queries. - [File Handling in PHP](https://bestonetechnologies.com/blog/file-handling-in-php.html) - File handling is a crucial aspect of web development, allowing developers to read, write, and manipulate files using PHP. - [Effortless HTTP Requests in PHP (alternative to the cURL)](https://bestonetechnologies.com/blog/effortless-http-requests-in-php-alternative-to-the-curl.html) - Introduction: Guzzle cURL, a powerful PHP library, revolutionizes the process of making HTTP requests. This article explores the unique features and benefits of Guzzle cURL, showcasing its ability to streamline HTTP requests and enhance PHP applications with unparalleled simplicity and power. Effortless Integration: With seamless integration into PHP applications, Guzzle cURL makes incorporating HTTP requests - [PHP Function array_reduce](https://bestonetechnologies.com/blog/php-function-array_reduce.html) - array_reduce() function reduces an array to a single value using a callback function. Can also use this function to search the value in the nested array. - [Import large database in MySql](https://bestonetechnologies.com/blog/import-large-database-in-mysql.html) - Import large database in MySQL, setting in my.ini (configuration) file and using the command line. - [JavaScript - Function](https://bestonetechnologies.com/blog/javascript-function.html) - A function is a group of code designed to perform a particular task and can executed when they are called. - [JavaScript for in loop](https://bestonetechnologies.com/blog/javascript-for-in-loop.html) - The for in loop is used to loop through an object's properties. - [JavaScript For Loop](https://bestonetechnologies.com/blog/javascript-for-loop.html) - For loop provides a concise way of writing the loop structure and it's most compact form of looping. The for loop requires following three parts: Initializer: Initialize our counter variable to start with Condition: specify a condition that must evaluate to true for next iteration, otherwise the control will come out of the loop Iteration: - [JavaScript - Switch Case](https://bestonetechnologies.com/blog/javascript-switch-case.html) - Switch-Case statement is also used for decision making purposes. It's a multi-way branch statement and in some cases convenient over if-else statements. - [JavaScript - While Loop](https://bestonetechnologies.com/blog/javascript-while-loop.html) - While writing a program, when we encounter a situation where we need to perform repetitive action, in that we would need to write loop statements - [JavaScript if-else Statement](https://bestonetechnologies.com/blog/javascript-if-else-statement.html) - if-else is a conditional statement, that is used to perform different actions based on different conditions. - [Filter Html table with JavaScript](https://bestonetechnologies.com/blog/filter-html-table-with-javascript.html) - Filter Html table with JavaScript - [JavaScript Operators](https://bestonetechnologies.com/blog/javascript-operators.html) - JavaScript operators are symbols that used to perform operations on operands, like in expression “8 + 2 = 10”, here 8 and 2 are operands and ‘+’ is operator. - [JavaScript Variables](https://bestonetechnologies.com/blog/javascript-variables.html) - Variables are used as a containers to store the data values. We can place data into these containers and then refer to the data simply by naming the container. - [CSS transform Property](https://bestonetechnologies.com/blog/css-transform-property.html) - In this blog, I am going to show how we can display a text in the vertical orientation. We can use “transform” property of CSS for this. - [HTML Entities](https://bestonetechnologies.com/blog/html-entities.html) - Some reserved characters in HTML have special meaning when used in HTML page, these characters are not present on our keyboard and can be replaced by entities. - [HTML Colors](https://bestonetechnologies.com/blog/html-colors.html) - Colors are the most important part of any webpage. We can specify colors in our webpage by NAME, RGB or HEX. - [Login Script with Remember Me in PHP](https://bestonetechnologies.com/blog/login-script-with-remember-me-in-php.html) - On login page remember me feature is used to preserve the login name and password entered by the user. - [Responsive Slider using jQuery](https://bestonetechnologies.com/blog/responsive-slider-using-jquery.html) - In this blog, I am going to explain how we can create a responsive slider. - [JavaScript - Placement](https://bestonetechnologies.com/blog/javascript-placement.html) - Where to place JavaScript JavaScript code must be placed between tags in html. It can be placed in the , or in the section of HTML page, or in both. Example: Internal Script Functions in JavaScript Function is - [Introduction to JavaScript](https://bestonetechnologies.com/blog/introduction-to-javascript.html) - JavaScript is a client side scripting language and it makes our HTML pages dynamic and interactive. - [Day 23: Sending Emails in PHP](https://bestonetechnologies.com/blog/day-23-sending-emails-in-php.html) - use of mail() function to send an email in PHP. - [Day 22: Login and Logout Functionality With OOPs.](https://bestonetechnologies.com/blog/day-22-login-and-logout-functionality-with-oops.html) - login and logout functionality with OOPs - [Day 21: login and logout functionality in PHP](https://bestonetechnologies.com/blog/day-21-login-and-logout-functionality-in-php.html) - login and logout functionality can be achieve in PHP using session. - [Day 20: Session in PHP](https://bestonetechnologies.com/blog/day-20-session-in-php.html) - Session is a way to make data accessible on various pages of the website. Session stores on server and secure then the cookies. - [Day 20: Session in PHP](https://bestonetechnologies.com/blog/day-20-session-in-php.html) - Session is a way to make data accessible on various pages of the website. Session stores on server and secure then the cookies. - [Day 19: Cookies in PHP](https://bestonetechnologies.com/blog/day-19-cookies-in-php.html) - Cookie is used to store information of a web page. It’s often used to identify user by embedding small file on the user’s computer. When same computer requests a page with a browser, it will send the cookie too. - [Day 18: Php Oops With MySql (Update and Delete Records)](https://bestonetechnologies.com/blog/day-18-php-oops-with-mysql-update-and-delete-records.html) - This article is about how to edit, update and delete records in PHP wit OOPS. - [Day 17: Database Handling With Oops](https://bestonetechnologies.com/blog/day-17-database-handling-with-oops.html) - In database there are 4 basic functions that we have to perform i.e. Display, Save, Update and Delete. Earlier we have done this without OOPS, now we will do this with OOPS. - [Day 16: Working with class, variables and Inheritance](https://bestonetechnologies.com/blog/day-16-working-with-class-variables-and-inheritance.html) - Variables are defined in class with var keyword. By default variable declared with "$" keyword and publicly assessed, you can also use "public $variable" instead of "var $variable". - [Day 15: Object Oriented Programming in PHP](https://bestonetechnologies.com/blog/day-15-object-oriented-programming-in-php.html) - Php5 released in 2004 with OOP features like in C# and java. It was the big change in PHP and now we can code with classes and objects in PHP. - [Day 14: Submit form without submit button](https://bestonetechnologies.com/blog/day-14-submit-form-without-submit-button.html) - Sometime it’s require to submit the form on server without submit button, like on dropdown change. So this can be done with the help of JavaScript. - [Day 13: Form validation client and server side.](https://bestonetechnologies.com/blog/day-13-form-validation-client-and-server-side.html) - Is it better to validate form of our website both client and server side. Both have their own advantages. In client side validation we use JavaScript so it’s faster than the server side validation but sometimes when JavaScript disabled on browser then JavaScript doesn’t work then server side validation will work. - [Day 12: Handling Multiple Tables In PHP With MySql Join](https://bestonetechnologies.com/blog/day-12-handling-multiple-tables-in-php-with-mysql-join.html) - While developing website there can possibilities that we have to display data from more then one table, In this day or assignment i am showing how to display, add and edit data form more then one table. - [Day 11: Data Manipulation With PHP](https://bestonetechnologies.com/blog/day-11-data-manipulation-with-php.html) - Data manipulation means insert, edit, update and delete records in database. - [Day 10: Include files In PHP](https://bestonetechnologies.com/blog/day-10-include-files-in-php.html) - This is one of the strong feature of the PHP that you we include content of one PHP or HTML file into another PHP file. With this feature we can reduce our codes of line and also avoid repentance of code. - [Day 9: Database connectivity in PHP](https://bestonetechnologies.com/blog/day-9-database-connectivity-in-php.html) - Database is used to store information. In PHP we are using MySql as database server. - [Day 8: Form Validations in PHP](https://bestonetechnologies.com/blog/day-8-form-validations-in-php.html) - Form validations are used to filter valid date from form and save in database. Below are the examples of form validation with regular expression. - [Day 7: Form Handling and Types of errors in PHP](https://bestonetechnologies.com/blog/day-7-form-handling-and-types-of-errors-in-php.html) - Form is one of the powerful features of PHP. Below is an example of HTML Form. There are three types of errors in php. - [Day 6: Array and foreach loop](https://bestonetechnologies.com/blog/day-6-array-and-foreach-loop-2.html) - Array can hold more than one value at a time. It’s a organized collection of key-value pairs. By default keys of array starts with 0, whoever we can define our own keys also. - [Day 5: while, for and switch-case](https://bestonetechnologies.com/blog/day-5-while-for-and-switch-case.html) - Loop is use to do repetitive work until task has not been completed. - [Day 4: Comments and Control Structures](https://bestonetechnologies.com/blog/day-4-comments-and-control-structures.html) - Comment code is a line that is not executed as a part of the program. It’s only readable by someone who is editing the code. Control Structures if, if else, while, for, switch case. - [Day 3 - Variables](https://bestonetechnologies.com/blog/day-3-variables.html) - Variable is name of place where computer holds the value temporarily in computer’s memory (RAM), that we can use in our program. In PHP variable is defined with “$” sign. - [Day 2 - Some basic programs in PHP](https://bestonetechnologies.com/blog/day-2-some-basic-programs-in-php.html) - in this post i have published some basic programs in php, these are vary simple and easy programs for beginners. - [Day 1 - Introduction to PHP](https://bestonetechnologies.com/blog/day-1-introduction-to-php.html) - PHP is server side scripting language to develop dynamic websites. PHP developed in 1995 by Rasmus Lerdorf. Early versions PHP was called Personal Home Page but it not seem to be a technical, so PHP rename “Hypertext Preprocessor”, or we can say “Personal Home Page Hypertext Preprocessor”. - [HTML Styles - CSS](https://bestonetechnologies.com/blog/html-styles-css.html) - CSS describe how our html document are presented on screen, paper or in other media. - [HTML marquee](https://bestonetechnologies.com/blog/html-marquee.html) - HTML marquee tag creates a scrolling effect and with the help of marquee we can scroll piece of text or image either in horizontally across or vertically down. - [HTML Form Controls](https://bestonetechnologies.com/blog/html-form-controls.html) - The following article describes different types of form controls that we can use in your form. - [HTML Forms](https://bestonetechnologies.com/blog/html-forms.html) - HTML Forms are used to collect different kinds of user inputs like name, email, phone, etc. and send them to the web server. - [HTML Blocks and Inline Elements](https://bestonetechnologies.com/blog/html-blocks-and-inline-elements.html) - Every HTML element can be categorized into either (1) Block OR (2) Inline. - [HTML Iframes](https://bestonetechnologies.com/blog/html-iframes.html) - Iframe tag is used to define inline frame within our web page. - [HTML Frames](https://bestonetechnologies.com/blog/html-frames.html) - With the help of HTML frames, we can divide our web page into multiple sections and each section can load a separate HTML page. - [HTML Links](https://bestonetechnologies.com/blog/html-links.html) - HTML links are used to connect one web page to another web page or specific parts of a page. These HTML links are known as hyperlinks. - [HTML List](https://bestonetechnologies.com/blog/html-list.html) - There are 3 ways through which we can specify lists in HTML. HTML List tags are (ordered list), (unordered list) and (definition list). - [HTML Tables](https://bestonetechnologies.com/blog/html-tables.html) - HTML tag allow us to arrange data (text, images, links) in rows and columns. - [HTML Images](https://bestonetechnologies.com/blog/html-images.html) - tag is an empty tag and can contain only list of attributes, also it has no closing tag. - [HTML comments](https://bestonetechnologies.com/blog/html-comments.html) - Comments are used for documentation in any programming language. It is a good practice to add comments into your code, especially for complex document, to add note in code or to indicate sections in document. - [Html Formatting](https://bestonetechnologies.com/blog/html-formatting.html) - Like in word processor, we can format our text blod, italic, underline, etc. in HTML also. In HTML we use elements , and for formatting output, like bold, italic and underline text. - [Html Attributes](https://bestonetechnologies.com/blog/html-attributes.html) - Attributes are used to define the additional information about HTML elements. It placed inside the element’s opening and tag. All attributes in HTML comes in two parts Name and value. - [Basic Html Tags](https://bestonetechnologies.com/blog/basic-html-tags.html) - blog about the basic tags of html i.e. Paragraph, heading, Horizontal Line, break etc. - [Geting started with html](https://bestonetechnologies.com/blog/geting-started-with-html.html) - HTML is the basic language of any browser and if we want to make website then there is no way around HTML. It’s a set of tags and each tag describes different web page content. - [AngularJS Expressions](https://bestonetechnologies.com/blog/angularjs-expressions.html) - In angularJS expressions are used to bind application data to html, it is a code that is mainly placed inside double braces. - [AngularJs Overview and Features](https://bestonetechnologies.com/blog/angularjs-overview-and-features.html) - This article is about features and Advantages of Angular Js. - [Database Handling in CodeIgniter](https://bestonetechnologies.com/blog/database-handling-in-codeigniter.html) - In this article, we will configure and work with database in same application “cidemo”, for that let’s create database and a table in your database. - [AngularJs Introduction](https://bestonetechnologies.com/blog/angularjs-introduction.html) - AngularJs is a open source JavaScript Framework comes with new attributes, it's version 1.0 released in 2012 and now maintained by Google. AngularJs is prefect for a Single Page Applications. - [CodeIgniter Setup](https://bestonetechnologies.com/blog/codeigniter-setup.html) - This article will show you the basics setup of the codeigniter framework, including how to build a basic hello user application that uses the MVC approach. This article also show how to set default controller in codeigniter. - [print_r shortcut in codeigniter](https://bestonetechnologies.com/blog/print_r-shortcut-in-codeigniter.html) - print_r shortcut in codeigniter, print array in codeigniter - [Dynamically change the form action using JavaScript](https://bestonetechnologies.com/blog/dynamically-change-the-form-action-using-javascript.html) - On anchor tag how to dynamically change the form action and submit using JavaScript. - [javascript for phone number format](https://bestonetechnologies.com/blog/javascript-for-phone-number-format.html) - Javascript For Phone Number Format - [Database Connectivity in Php](https://bestonetechnologies.com/blog/database-connectivity-in-php.html) - This blog is going to explain how to connect database with php and display all the records of table. - [Regular Expressions in JavaScript](https://bestonetechnologies.com/blog/regular-expressions-in-javascript.html) - With the help of Regular expressions we can make our own patterns for validation and validate form as per our requirement. This post will describe how you can make your own regular expression in JavaScript and use in client side. - [Minimum Character Validation](https://bestonetechnologies.com/blog/minimum-length-validation.html) - In JavaScript we can check the numbers of characters entered in Text Box and validate minimum or maximum numbers of characters in textbox. - [Required Field Validation](https://bestonetechnologies.com/blog/required-field-validation.html) - One of the important uses of JavaScript is Client Side Validations. We can validate the data before sending to the server. - [“this” Keyword](https://bestonetechnologies.com/blog/this-keyword.html) - "this" refer to the object on which a method is being invoke. We can pass "this" as an argument in function. - [Populate Div with JavaScript](https://bestonetechnologies.com/blog/populate-div-with-javascript.html) - We can fill div dynamically with the help of JavaScript, using innerHTML - [Customize the WordPress Search](https://bestonetechnologies.com/blog/customize-the-wordpress-search.html) - We can change the design and add additional fundability in the search widget provided by WordPress. Make a file “searchform.php“ in your theme folder and add the blow given code. You can also add your style or script as need in this file. - [Filter Search In Wordpress](https://bestonetechnologies.com/blog/filter-search-in-wordpress.html) - We can filter our search in WordPress according to posts or custom post. - [Disable Updates in WordPress](https://bestonetechnologies.com/blog/disable-updates-in-wordpress.html) - we can disable the updated in wordpress by adding some lines in function.php, which are given in this blog. - [document.getElementsByName](https://bestonetechnologies.com/blog/document-getelementsbyname.html) - getElementsByName() is a method in JavaScript through which we can accesses all elements with the specified name. - [Textbox in CakePHP](https://bestonetechnologies.com/blog/textbox-in-cakephp.html) - Following are the methods through which we can create textbox in cake php. - [Custom Post in WordPress](https://bestonetechnologies.com/blog/custom-post-in-wordpress.html) - we can create posts options of our choice in wordpress, like i want to post news as a post with custom fields. This article is about how to create custom post in wordpress. - [Create a Form in CakePHP](https://bestonetechnologies.com/blog/create-a-form-in-cakephp.html) - To create a form in CakePHP we can use create() method. - [document.getElementById](https://bestonetechnologies.com/blog/document-getelementbyid.html) - getElementById is a function in JavaScript to access the HTML elements. It’s a function of document object and can only access by using document.getElementById. - [The Global Keyword](https://bestonetechnologies.com/blog/the-global-keyword.html) - A global variable can be accessed in any part of the program. In php global keyword is used to access a global variable. Global keyword has to use before the variables (inside the function). - [Popups in javascript](https://bestonetechnologies.com/blog/popups-in-javascript.html) - There are three types of popup boxes in JavaScript. - [Array in JavaScript](https://bestonetechnologies.com/blog/array-in-javascript.html) - Array is use to store multiple values in a one variable. - [Ways of Adding JavaScript code](https://bestonetechnologies.com/blog/ways-of-adding-javascript-code.html) - Following are the ways through which we can add javascript in html page. - [File Upload in PHP](https://bestonetechnologies.com/blog/file-upload-in-php.html) - File upload in php. - [Advantages of javaScript ](https://bestonetechnologies.com/blog/advantages-of-javascript.html) - Java Script is client side scripting language. Java Script makes static html page dynamic and effective. - [Get Last Inserted Id](https://bestonetechnologies.com/blog/get-last-inserted-id.html) - There are many cases where we need AUTO_INCREMENT ID that generated from the previous INSERT operation, we can get that by using mysql_insert_id() - [Object Oriented PHP](https://bestonetechnologies.com/blog/object-oriented-php.html) - Object oriented programming features of high level language. - [About Php](https://bestonetechnologies.com/blog/about-php.html) - php is server side scripting language. Php developed in 1995 by Rasmus Lerdorf. Early versions PHP was called Personal Home Page but it not seem to be a technical, so php rename "Hypertext Preprocessor", or we can say "Personal Home Page Hypertext Preprocessor". - [@ Magic](https://bestonetechnologies.com/blog/magic.html) - we can use @ in php to Avoid Warning or Block Warning in php - [Add Dynamic Sidebar in Wordpress](https://bestonetechnologies.com/blog/add-dynamic-sidebar-in-wordpress.html) - How to add a dynamic Sidebar in Wordpress - [get_permalink function](https://bestonetechnologies.com/blog/get_permalink-function.html) - WordPress function get_permalink, get link of post and page. - [Response message](https://bestonetechnologies.com/blog/response-message.html) - change the response message location in contact form 7 - [short_open_tag](https://bestonetechnologies.com/blog/short_open_tag.html) - short open tag in php - [Fetch Duplicate Records](https://bestonetechnologies.com/blog/fetch-duplicate-records.html) - who to get duplicate records from database - [Submit Form without Submit Button](https://bestonetechnologies.com/blog/submit-form-without-submit-button.html) - How to Submit form without submit button in php using javaScript - [Change Date Format in php](https://bestonetechnologies.com/blog/change-date-format-in-php.html) - we can display date in different formats in php with just a simple code as in this blog. - [Calculate Age out of Date Of Birth](https://bestonetechnologies.com/blog/calculate-age-out-of-date-of-birth.html) - Blog shows how we can calculate AGE out of date of birth given. It is help full when date of birth is stored in database and we have to display age in front end. - [Operators in SQL Server](https://bestonetechnologies.com/blog/operators-in-sql-server.html) - Operators in SQL Server, how to use different operations in sql server ## Pages - [Contact Us](https://bestonetechnologies.com/contact-us) - contact with us in case of any queries and question - [Study Material](https://bestonetechnologies.com/study-material) - Welcome to your one-stop resource for comprehensive computer study material! Whether you're a student, professional, or a tech enthusiast, our well-curated content will help you understand the fundamental concepts of computers. - [Questions](https://bestonetechnologies.com/question) - View the question in detail. - [Services](https://bestonetechnologies.com/services) - Bestone technologies providing SEO friendly web design, development include dynamic, Static and template based websites. - [Queries and Solutions](https://bestonetechnologies.com/have-a-question) - This page display answers and questions. - [HOME](https://bestonetechnologies.com/home) - Bestone Technologies deals with web designing, development and It training. - [Computer Education](https://bestonetechnologies.com/computer-education) - We are now providing the best Computer Education, Industrial Training and certification. - [Placement](https://bestonetechnologies.com/placement) - jobs, placement in tricity - [jQuery Slider Demo](https://bestonetechnologies.com/jquery-slider-demo) - [Html Quiz 2](https://bestonetechnologies.com/html-quiz-2) - Online object type html quiz to gain knowledge. - [Html Quiz 1](https://bestonetechnologies.com/html-quiz) - Online object type html basic quiz to gain knowledge. - [DWQA Questions](https://bestonetechnologies.com/dwqa-questions) - [DWQA Ask Question](https://bestonetechnologies.com/dwqa-ask-question) - [Ask a question](https://bestonetechnologies.com/ask-a-question) - You can post your question/ technical question/ questions here. - [About](https://bestonetechnologies.com/about-me) - I am working as a Sr. Software Engineer in Chandigarh, India. I have 3 years of experience in web development as well as more then 3 years of experience in software teaching. So This blog is about my day to day experience and learning on my field, that i want to share. - [Quiz](https://bestonetechnologies.com/quiz) - Online technical quiz, to learn with fun. - [Php Quiz 2](https://bestonetechnologies.com/php-quiz-2) - Php multi-choice quiz to increase the knowledge. - [Php Quiz 1](https://bestonetechnologies.com/php-quiz) - Php multi-choice quiz to increase the knowledge. - [Tutorials](https://bestonetechnologies.com/tutorial-categories) - Display all tutorial categories. - [Store](https://bestonetechnologies.com/store) - Electronic Store - [Technology News](https://bestonetechnologies.com/technology-news) - Technology News - [question-category](https://bestonetechnologies.com/question-category) - this page will display questions according to categories - [question-tag](https://bestonetechnologies.com/question-tag) - This page contain the questions according to tags. ## Questions - [Full form of PHP?](https://bestonetechnologies.com/question/full-form-of-php) - What is the full form of PHP? - [How to fix: Error Call to undefined method CodeIgniter\Database\MySQLi\Connection::select()](https://bestonetechnologies.com/question/how-to-fix-error-call-to-undefined-method-codeigniterdatabasemysqliconnectionselect) - getting an error in codeigniter 4: How to fix: Error Call to undefined method CodeIgniter\Database\MySQLi\Connection::select() for line: $this->db->select('*'); - [Error in Codeigniter 4 - No direct script access allowed](https://bestonetechnologies.com/question/error-in-codeigniter-4-no-direct-script-access-allowed) - My code in CI 4 is: namespace App\Controllers;use App\Models\AbcModel; class Login extends BaseController { function __construct() { $this->AbcModel = new AbcModel(); } } But getting error: No direct script access allowed - [Mail Delivery flier](https://bestonetechnologies.com/question/mail-delivery-flier) - 550 Please turn on SMTP Authentication in your mail client, or login to the IMAP/POP3 server before sending your message - [How to Import large database in MySql?](https://bestonetechnologies.com/question/how-to-import-large-database-in-mysql) - How to Import large database in MySql? What settings we need to do in configuration file? - [Who is the father of PHP?](https://bestonetechnologies.com/question/who-is-the-father-of-php) - Who is the father of PHP? - [How we can print current date and time in php?](https://bestonetechnologies.com/question/how-we-can-print-current-date-and-time-in-php) - How we can print current date and time in php? - [Data Types available in JavaScript](https://bestonetechnologies.com/question/data-types-available-in-javascript) - What are the Data Types available in JavaScript? - [Company developed JavaScript?](https://bestonetechnologies.com/question/company-developed-javascript) - Which company developed JavaScript? - [Array in JavaScript](https://bestonetechnologies.com/question/array-in-javascript) - What is the syntax to create an Array in JavaScript? - [Is JavaScript a case-sensitive language?](https://bestonetechnologies.com/question/is-javascript-a-case-sensitive-language) - Is JavaScript a case-sensitive language? - [explode() and implode() function](https://bestonetechnologies.com/question/explode-and-implode-function) - What are the uses of explode() and implode() functions? - [What does PEAR stand for?](https://bestonetechnologies.com/question/what-does-pear-stand-for) - What does PEAR stand for? - [Differentiate CHAR_LENGTH and LENGTH?](https://bestonetechnologies.com/question/differentiate-char_length-and-length) - What is the differentiate between CHAR_LENGTH and LENGTH? - [Is variable is a number?](https://bestonetechnologies.com/question/is-variable-is-a-number) - In PHP, Can we check the value of a given variable is a number? - [Number of affected entries by a query](https://bestonetechnologies.com/question/number-of-affected-entries-by-a-query) - In PHP Which function gives us the number of affected entries by a query? - [Ways we can pass the variable through the navigation between the pages](https://bestonetechnologies.com/question/ways-we-can-pass-the-variable-through-the-navigation-between-the-pages) - How many ways we can pass the variable through the navigation between the pages? - [Generating a random password in php](https://bestonetechnologies.com/question/generating-a-random-password-in-php) - How to generating a random password in php? - [How is JavaScript different from Java?](https://bestonetechnologies.com/question/how-is-javascript-different-from-java) - How is JavaScript different from Java? - [What is PHP Session?](https://bestonetechnologies.com/question/php-session) - What is PHP Session? - [What are the kinds OR types of CSS that we can use in our web pages.](https://bestonetechnologies.com/question/what-are-the-kinds-or-types-of-css-that-we-can-use-in-our-web-pages) - Types of CSS in HTML. - [Records with date in the last 24 hours](https://bestonetechnologies.com/question/records-with-date-in-the-last-24-hours) - How to select records with date in the last 24 hours? - [Who to define Session variable in PHP?](https://bestonetechnologies.com/question/session-variable-in-php) - Who to define Session variable in PHP? - [Google re-captcha integration in codeignator](https://bestonetechnologies.com/question/google-re-captcha-integration-in-codeignator) - How to validate google re-captcha in codeignator? - [Import CSV file data in mysql database table](https://bestonetechnologies.com/question/import-csv-file-data-in-mysql-database-table) - How to import CSV file data in MySql database table? - [Hooks in CodeIgniter](https://bestonetechnologies.com/question/hooks-in-codeigniter) - What are hooks in CodeIgniter? - [How we can change our stylesheet path using javascript?](https://bestonetechnologies.com/question/how-we-can-change-our-stylesheet-path-using-javascript) - How we can change our stylesheet path using javascript? - [what types of loops exist in php?](https://bestonetechnologies.com/question/what-types-of-loops-exist-in-php) - what types of loops exist in php? - [Characters after last / from url](https://bestonetechnologies.com/question/characters-after-last-from-url) - Hot we can get characters after last / from url? - [How we can load CodeIgniter helpers in every page?](https://bestonetechnologies.com/question/how-we-can-load-codeigniter-helpers-in-every-page) - How we can load CodeIgniter helpers in every page? - [How jQuery is different from JavaScript?](https://bestonetechnologies.com/question/how-jquery-is-different-from-javascript) - How jQuery is different from JavaScript? - [What is the difference between DOUBLE and FLOAT?](https://bestonetechnologies.com/question/what-is-the-difference-between-double-and-float) - What is the difference between DOUBLE and FLOAT? - [Mention the triggers available in MySql.](https://bestonetechnologies.com/question/mention-the-triggers-available-in-mysql) - Mention the triggers available in MySql. - [How can we see all indexes defined for a table?](https://bestonetechnologies.com/question/how-can-we-see-all-indexes-defined-for-a-table) - How can we see all indexes defined for a table? - [What is the use of ENUM in MySQL?](https://bestonetechnologies.com/question/what-is-the-use-of-enum-in-mysql) - What is the use of ENUM in MySQL? - [What are magic constants in PHP?](https://bestonetechnologies.com/question/what-are-magic-constants-in-php) - What are magic constants in PHP? - [What are rules we have to follow while naming a PHP variable?](https://bestonetechnologies.com/question/what-are-rules-we-have-to-follow-while-naming-a-php-variable) - What are rules we have to follow while naming a PHP variable? - [what is the static variable in php?](https://bestonetechnologies.com/question/what-is-the-static-variable-in-php) - what is the static variable in php? - [Program to find palindrome in PHP.](https://bestonetechnologies.com/question/program-to-find-palindrome-in-php) - Write a program to find palindrome in PHP. - [How to fetch duplicate records in mysql?](https://bestonetechnologies.com/question/how-to-fetch-duplicate-records-in-mysql) - How to fetch duplicate records in mysql? - [How to find third highest salary in mysql?](https://bestonetechnologies.com/question/how-to-find-third-highest-salary-in-mysql) - How to find third highest salary in mysql? - [How to increase the execution time of a PHP script?](https://bestonetechnologies.com/question/how-to-increase-the-execution-time-of-a-php-script) - How to increase the execution time of a PHP script? - [What is a difference between Echo and Print statement?](https://bestonetechnologies.com/question/what-is-a-difference-between-echo-and-print-statement) - difference between Echo and Print statement. - [What are the disadvantages of MySQL?](https://bestonetechnologies.com/question/what-are-the-disadvantages-of-mysql) - Disadvantages of MySQL - [What are the meta tags used for in html?](https://bestonetechnologies.com/question/what-are-meta-tags-used-for-in-html) - Use Of Meta Tags in Html - [What does CSS stand for?](https://bestonetechnologies.com/question/what-does-css-stand-for) - CSS stand for - [In jQuery how to clear div before append?](https://bestonetechnologies.com/question/in-jquery-how-to-clear-div-before-append) - jQuery how to clear div before append - [What are the different types of errors in PHP.](https://bestonetechnologies.com/question/what-are-the-different-types-of-errors-in-php) - Types of errors in PHP - [How we can add comments in HTML?](https://bestonetechnologies.com/question/how-we-can-add-comments-in-html) - How to add comments in HTML - [How to set cookies in PHP?](https://bestonetechnologies.com/question/how-to-set-cookies-in-php) - How to set cookies in PHP? - [How to Retrieve a Cookie Value?](https://bestonetechnologies.com/question/how-to-retrieve-a-cookie-value) - How to Retrieve a Cookie Value? - [HOW TO MAKE WEBSITE IN JOOMLA 2.5?????](https://bestonetechnologies.com/question/how-to-make-website-in-joomla-2-5) - HOW TO MAKE WEBSITE IN JOOMLA 2.5????? - [how to get sum of two numbers with using only enter button](https://bestonetechnologies.com/question/how-to-get-sum-of-two-numbers-with-using-only-enter-button) - sum of two numbers with using only enter button. - [How to declare an array in php?](https://bestonetechnologies.com/question/how-to-declare-an-array-in-php) - Array in PHP - [Can we create a database using PHP? How?](https://bestonetechnologies.com/question/can-we-create-a-database-using-php-how) - Can we create a database using PHP? How? - [What is a use of iframe in HTML?](https://bestonetechnologies.com/question/what-is-a-use-of-iframe-in-html) - What is a use of iframe in HTML? - [What is a Hypertext link in html?](https://bestonetechnologies.com/question/what-is-a-hypertext-link-in-html) - What is a Hypertext link in html? - [Why we use CSS?](https://bestonetechnologies.com/question/why-we-use-css) - Why we use CSS? - [What is Difference between CHAR and VARCHAR?](https://bestonetechnologies.com/question/what-is-difference-between-char-and-varchar) - What is Difference between CHAR and VARCHAR? - [How we can get current MySQL version?](https://bestonetechnologies.com/question/how-we-can-get-current-mysql-version) - How we can get current MySQL version? - [How we can retrieve the data from the result set of MySQL using PHP?](https://bestonetechnologies.com/question/how-we-can-retrieve-the-data-from-the-result-set-of-mysql-using-php) - How we can retrieve the data from the result set of MySQL using PHP? - [How we can execute a MySql query in Php?](https://bestonetechnologies.com/question/how-we-can-execute-a-mysql-query-in-php) - How we can execute a MySql query in Php? - [What is a tag in html?](https://bestonetechnologies.com/question/what-is-a-tag-in-html) - What is a tag in html? - [What is the use of HTML?](https://bestonetechnologies.com/question/what-is-the-use-of-html) - What is the use of HTML? - [What is the full form of HTML?](https://bestonetechnologies.com/question/what-is-the-full-form-of-html) - What is the full form of HTML? - [What is the difference between Primary Key and Unique Key?](https://bestonetechnologies.com/question/what-is-the-difference-between-primary-key-and-unique-key) - What is the difference between Primary Key and Unique Key? - [What is DDL, DML and DCL?](https://bestonetechnologies.com/question/what-is-ddl-dml-and-dcl) - What is DDL, DML and DCL? - [what is the use of MySQL.](https://bestonetechnologies.com/question/what-is-the-use-of-mysql) - what is the use of MySQL. - [How we can connect PHP with mysql server?](https://bestonetechnologies.com/question/how-we-can-connect-php-with-mysql-server) - How we can connect PHP with mysql server? - [What is the use of header() function in php?](https://bestonetechnologies.com/question/what-is-the-use-of-header-function-in-php) - What is the use of header() function in php? - [What is the difference between the PHP function unlink and unset?](https://bestonetechnologies.com/question/what-is-the-difference-between-the-php-function-unlink-and-unset) - What is the difference between the PHP function unlink and unset? - [What is the difference between $val and $$val?](https://bestonetechnologies.com/question/what-is-the-difference-between-val-and-val) - What is the difference between $val and $$val? - [What is the use of in_array() function in php ?](https://bestonetechnologies.com/question/what-is-use-of-in_array-function-in-php) - What is the use of in_array() function in php ? - [How we can display the total number of elements in Array?](https://bestonetechnologies.com/question/question-related-to-php-array) - How we can display the total number of elements in Array? - [what is php?](https://bestonetechnologies.com/question/what-is-php) ## Answers - [Answer for Full form of PHP?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-full-form-of-php) - Personal Home Page Hypertext Preprocessor - [Answer for How to fix: Error Call to undefined method CodeIgniterDatabaseMySQLiConnection::select()](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-fix-error-call-to-undefined-method-codeigniterdatabasemysqliconnectionselect) - User the below code, working for me: $this->select('*'); $this->table("user"); $this->where("email",$postData['username']); $res = $this->get(); - [Answer for Mail Delivery flier](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-mail-delivery-flier) - I have visited my cPanel -> Email Routing -> and changed my "Configure Email Routing" to Local Mail Exchanger. It's working for me. - [Answer for How to Import large database in MySql?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-import-large-database-in-mysql) - Below are the steps to import large Database in MySQL: Step 1: Stop MySQL server from your control panel. Step 2: Open the file C:\xampp\mysql\bin\my configuration Search and Change the below lines (setting): innodb_buffer_pool_size=4G innodb_log_file_size=2GB innodb_log_buffer_size=256M innodb_flush_log_at_trx_commit=0 innodb_lock_wait_timeout=500 innodb_strict_mode=0 Step 3: Start the MySQL server from your control panel. Step 4: Open command prompt - [Answer for Who is the father of PHP?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-who-is-the-father-of-php-3) - gay orgy club [url=https://alltjanstskelleftea.online/sexy-atletick-porno/]sexy atletick porno[/url] tlust okliv ern koika japont lesbiky maj sex dospvajc nah porno sex https://alltjanstskelleftea.online/porno-con-latinas/ porno videa trojka zdarma - [Answer for Who is the father of PHP?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-who-is-the-father-of-php-2) - gorcy faceci z duymi kutasami tumblr [url=https://cynis.online/co-to-jest-porno-nastolatkw/]co to jest porno nastolatkw[/url] sodkie dziewczyny seks lesbijski asain kreskwki porno czarne nagie filmy erotyczne https://cynis.online/gorca-murzynka-mama-porno/ seksowna nastolatka cipka i tyek - [Answer for Data Types available in JavaScript](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-data-types-available-in-javascript) - JavaScript Data types: String Number Boolean Object Undefined - [Answer for Company developed JavaScript?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-company-developed-javascript) - JavaScript is developed by software company Netscape. - [Answer for Array in JavaScript](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-array-in-javascript) - var a = []; var b = [1, 2, 3, 4, 5]; - [Answer for Is JavaScript a case-sensitive language?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-is-javascript-a-case-sensitive-language) - Yes, JavaScript is a case sensitive language. Keywords, variables, function names and any other identifiers must always be typed with a consistent capitalization of letters. - [Answer for explode() and implode() function](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-explode-and-implode-function) - explode() function is used to split a string into an array on the other hand implode function is used to join elements of an array with a string. Example: $text = "PHP is a general purpose programming language"; print_r (explode(" ",$text)); $strarr = array('Ram','Kumar','Sharma'); echo implode(" ",$strarr); - [Answer for What does PEAR stand for?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-does-pear-stand-for) - PEAR means "PHP Extension and Application Repository". - [Answer for Differentiate CHAR_LENGTH and LENGTH?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-differentiate-char_length-and-length) - CHAR_LENGTH is used for character count, while the LENGTH is byte count. - [Answer for Is variable is a number?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-is-variable-is-a-number) - Yes, is_numeric() returns whether the variable is a number or not. - [Answer for Number of affected entries by a query](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-number-of-affected-entries-by-a-query) - mysqli_affected_rows() return the number of entries affected by an SQL query. - [Answer for Ways we can pass the variable through the navigation between the pages](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-ways-we-can-pass-the-variable-through-the-navigation-between-the-pages) - There are 3 ways: Pass the variable as part of the URL Pass the variable as a cookie Register the variable into the session - [Answer for Generating a random password in php](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-generating-a-random-password-in-php) - Try this: function generatePassword() { $alpha = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'; $password = array(); $alphaLength = strlen($alpha) - 1; for ($i = 0; $i < 8; $i++) { $n = rand(0, $alphaLength); $password[] = $alpha[$n]; } return implode($password); } - [Answer for How is JavaScript different from Java?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-is-javascript-different-from-java-2) - Java creates applications that runs on a virtual machine or browser, on the other hand JavaScript code is run on a browser only. - [Answer for What is PHP Session?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-php-session) - Session is a way to store data for individual users against his unique session id. This can be used to persist state information between different page requests. Session id is normally sent to the browser via session cookies and the id is used to retrieve existing session data. - [Answer for What are the kinds OR types of CSS that we can use in our web pages.](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-are-the-kinds-or-types-of-css-that-we-can-use-in-our-web-pages-2) - 3 Types of CSS In a separate file (external css) At the top of a web page document (internal css) Right next to the text it decorates (inline css) - [Answer for Records with date in the last 24 hours](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-records-with-date-in-the-last-24-hours-2) - SELECT * FROM tableName WHERE tableName.the_date > DATE_SUB(CURDATE(), INTERVAL 1 DAY) - [Answer for Records with date in the last 24 hours](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-records-with-date-in-the-last-24-hours) - SELECT * FROM posts WHERE dateCreated > SUBDATE(CURDATE(), INTERVAL 24 HOUR); - [Answer for Session variable in PHP](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-session-variable-in-php) - [Answer for PHP Session?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-php-session) - PHP Session is a way to make data accessible across the various pages of an entire website, It store data for individual users against a unique session ID and this session data will be available to all pages on the site during that visit. - [Answer for Google re-captcha integration in codeignator](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-google-re-captcha-integration-in-codeignator) - function validate_captcha() { $captcha = $this->input->post('g-recaptcha-response'); $response = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=you_site_key&response=" . $captcha . "&remoteip=" . $_SERVER['REMOTE_ADDR']); if ($response . 'success' == false) { return FALSE; } else { return TRUE; } } function formSubmit() { if(isset($_POST)){ $this->form_validation->set_rules('g-recaptcha-response', 'recaptcha validation', 'required|callback_validate_captcha'); $this->form_validation->set_message('validate_captcha', 'Please check the the captcha'); } } - [Answer for Import CSV file data in mysql database table](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-import-csv-file-data-in-mysql-database-table) - 1. Open the command prompt 2. Go to mysql folder ( C:\xampp\mysql\bin>mysql -u root -p ) 3. Select database by command: >use database_name 4. Run the below command: -> load data -> infile 'D:/folder/filename.csv' -> into table table_name fields terminated by ',' -> enclosed by '"' lines terminated by '\n'; - [Answer for Hooks in CodeIgniter](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-hooks-in-codeigniter) - Hooks allow us to execute a script with a particular path within the Codeigniter. It is defined in application/config/hooks.php and enabled/disabled from application/config/config.php ($config['enablehooks'] = TRUE;). - [Answer for How we can change our stylesheet path using javascript?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-change-our-stylesheet-path-using-javascript) - Below is the example to change path of stylesheet: I have 2 stylesheet (blue.css, green.css) in the same folder in which my html file is. Code in blue.css: body{ background:blue; } Code in green.css: body{ background:green; } Main html file Code: function changeTheme(theme) { document.getElementById('my_theme_css').href = - [Answer for what types of loops exist in php?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-types-of-loops-exist-in-php) - In php we can use while, do while, for and foreach loops. - [Answer for Characters after last / from url](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-characters-after-last-from-url) - $uid = substr($site_url, strrpos($site_url, '/') + 1); - [Answer for How we can load CodeIgniter helpers in every page?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-load-codeigniter-helpers-in-every-page) - If you want to load Codeigniter helpers in every page, just add those helpers autoload:In /application/config/autoload.php Find and change : $autoload['helper'] = array();to$autoload['helper'] = array('html','url'); - [Answer for How jQuery is different from JavaScript?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-jquery-is-different-from-javascript) - JavaScript is a client side scripting language, While jQuery is a library built with the JavaScript. - [Answer for What is the difference between DOUBLE and FLOAT?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-difference-between-double-and-float) - DOUBLE stores floating point numbers with up to 18 places and allocates 8 bytes.FLOAT stores floating point numbers with up to 8 places and allocates 4 bytes. - [Answer for Mention the triggers available in MySql.](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-mention-the-triggers-available-in-mysql) - Below are the triggers available in MySql: Before Insert After Insert Before Update After Update Before Delete After Delete - [Answer for How can we see all indexes defined for a table?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-can-we-see-all-indexes-defined-for-a-table) - Command is: SHOW INDEX FROM ; - [Answer for What is the use of ENUM in MySQL?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-use-of-enum-in-mysql) - ENUM is used to specify set of predefined values in table. like: isActive '0','1' OR isSold 'Y','N' It's a string object, so take less space then integer. - [Answer for What are magic constants in PHP?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-are-magic-constants-in-php) - A large number of predefined constants provided by PHP to any script which it runs known as magic constants. - [Answer for What are rules we have to follow while naming a PHP variable?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-are-rules-we-have-to-follow-while-naming-a-php-variable) - -> Name of the variable must begin with a letter or underscore character. -> Name of variable can consist of numbers, letters, underscores but we cannot use characters like + , - , % , ( , ) . & , etc - [Answer for what is the static variable in php?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-static-variable-in-php) - A static variable is that which will not lose its value and will still hold value when the function be called again. Example: Output: 1 2 3 - [Answer for Program to find palindrome in PHP.](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-program-to-find-palindrome-in-php) - [Answer for How to fetch duplicate records in mysql?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-fetch-duplicate-records-in-mysql) - select * from user where id in(SELECT id from user group by name having count(id) > 1 ) - [Answer for How to find third highest salary in mysql?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-find-third-highest-salary-in-mysql) - SELECT DISTINCT salary FROM EMP ORDER BY salary DESC LIMIT 2 , 1 OR select max(salary) from emp where salary < (select max(salary) from emp where salary < (select max(salary) from emp)) - [Answer for How to increase the execution time of a PHP script?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-increase-the-execution-time-of-a-php-script) - We can increase the execution time of PHP script with php.ini file. In php.ini file default it's 30 Secs, by modifying the max_execution_time in seconds we can increase it, but it must be changed keeping the environment of server in mind, because it will affect all the sites hosted by the server. - [Answer for How we can print current date and time in php?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-print-current-date-and-time-in-php) - [Answer for what is php?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-php-2) - It's a widely-used server side scripting language and It's open source. - [Answer for What are the meta tags used for in html?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-are-the-meta-tags-used-for-in-html) - Meta tags are used to store information usually relevant to browsers and search engines, which helps search engines like google, yahoo, etc. to search our web page. - [Answer for What is a use of iframe in HTML?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-a-use-of-iframe-in-html) - iframe is used to display a web page/s within a web page. - [Answer for How we can add comments in HTML?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-add-comments-in-html) - Put at the end. Example: - [Answer for What is a Hypertext link in html?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-a-hypertext-link-in-html) - Hypertext link is a LINK between 2 web pages, when we click the hyper-link the browser redirect us to the link's url or destination. - [Answer for What are the kinds OR types of CSS that we can use in our web pages.](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-are-the-kinds-or-types-of-css-that-we-can-use-in-our-web-pages) - There are three types CSS:1) External style sheet2) Internal style sheet3) Inline style - [Answer for Why we use CSS?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-why-we-use-css) - With the help of CSS we can define styles for your web pages, it includes design, layout and variations in display for different electronic devices and screen sizes like computer, mobile, i-pads etc. - [Answer for What does CSS stand for?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-does-css-stand-for) - Cascading Style Sheets. - [Answer for What is Difference between CHAR and VARCHAR?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-difference-between-char-and-varchar) - Difference between CHAR and VARCHAR: CHAR is fixed length: CHAR data type length is fixed to the length that is declared while creating table. Ex. In field “name char(45)” we entered value “Albert”, it will take space of 45 characters. VARCHAR is variable-length: VARCHAR data type length is not fixed as we declared while creating - [Answer for How we can get current MySQL version?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-get-current-mysql-version) - With the help of SELECT VERSION (); command. - [Answer for How we can retrieve the data from the result set of MySQL using PHP?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-retrieve-the-data-from-the-result-set-of-mysql-using-php) - Below are the methods: 1. mysql_fetch_row2. mysql_fetch_array3. mysql_fetch_object4. mysql_fetch_assoc Example: $data = mysql_query("select * from tbl_users where id=1"); $res = mysql_fetch_array($data); echo $res['id']; - [Answer for How we can execute a MySql query in Php?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-execute-a-mysql-query-in-php) - with the help of mysql_query function. See below: $query = "select * from tbl_user"; $data = mysql_query($query); - [Answer for Can we create a database using PHP? How?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-can-we-create-a-database-using-php-how) - Yes, by using mysql_create_db() function, but now mysql_create_db() is deprecated so better to use mysql_query as below: $con = mysql_connect('localhost', 'user', 'password'); $query = 'CREATE DATABASE my_database'; mysql_query($query, $con) - [Answer for How is JavaScript different from Java?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-is-javascript-different-from-java) - Java is a complete programming language with Oop features, that runs on Java Virtual Machine.On other hand JavaScript is an scripting language runs on browser only. - [Answer for What is a tag in html?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-a-tag-in-html) - HTML tags are used to describe different document contents on web page. Few examples of HTML tags: describes an HTML document. is used to provide information about the document. is used to describes the page content. - [Answer for What is the use of HTML?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-use-of-html) - HTML is the standard markup language to write Web pages, to be viewed on the Internet. - [Answer for What is the full form of HTML?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-full-form-of-html) - HyperText MarkUp Language. - [Answer for What is the difference between Primary Key and Unique Key?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-difference-between-primary-key-and-unique-key) - Both PRIMARY and UNIQUE KEY defined for Uniqueness of the column in a table. with below major differences:a) Primary key doesn't allow Null Values, however Unique key does allows NULL value.b) It adds a default clustered index, however Unique key default adds a UNIQUE non-clustered index.c) There can be only one PRIMARY KEY in a - [Answer for What is DDL, DML and DCL?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-ddl-dml-and-dcl) - Large variety of SQL commands divided into three subgroups: DDL (Data Definition Language): describes how the data should reside in the database. It includes CREATE, ALTER table SQL commands. DML (Data Manipulation Language): deals with SQL commands like SELECT, INSERT, etc. DCL (Data Control Language): deals with SQL commands concerns with rights, permissions and controls - [Answer for What are the disadvantages of MySQL?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-are-the-disadvantages-of-mysql) - Not efficient in handling very large size of database. Not effective in handling transactions. ROLE, COMMIT, and Stored procedures are not supported in versions less than 5.0 - [Answer for what is the use of MySQL.](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-use-of-mysql) - MySQL is a open source database server. Its unique storage engine architecture makes it's performance is very high and large number of embedded applications makes MySql very flexible. Also we can use of Triggers, Stored procedures and views in MySQL to give a higher productivity. - [Answer for How we can connect PHP with mysql server?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-connect-php-with-mysql-server) - mysql_connect() function is used to connect PHP with mysql server. Syntax: mysql_connect('host_name','user_name','password'); Example: $con = mysql_connect('localhost','root',''); /* use to connect localhost server with default setting*/ - [Answer for What is the use of header() function in php?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-use-of-header-function-in-php) - header() function is use to redirect a page in php.Ex. header("location:about.php"); This like will redirect current page to about.php - [Answer for How to Retrieve a Cookie Value?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-retrieve-a-cookie-value) - Example: echo $_COOKIE["name"]; - [Answer for How to set cookies in PHP?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-set-cookies-in-php) - Syntax: setcookie(name, value, expire, path, domain, secure, httponly);Example: Setcookie("name", "Albert", time()+3600); - [Answer for What is the difference between the PHP function unlink and unset?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-difference-between-the-php-function-unlink-and-unset) - unlink() deletes the given file from the file system.Ex. unlink('abc.txt'); unset() makes a given variable undefined.Ex. unset($val); - [Answer for What is the difference between $val and $$val?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-difference-between-val-and-val) - $val is variable where as $$val is reference variable. For Ex. $val="sonia" and $$val="dhiman" so $sonia value is dhiman. - [Answer for How to declare an array in php?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-declare-an-array-in-php) - var $ar = array('mango', 'orange', 'lemon',45); - [Answer for Who is the father of PHP?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-who-is-the-father-of-php) - Rasmus Lerdorf. - [Answer for What is the use of in_array() function in php ?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-the-use-of-in_array-function-in-php) - in_array is use to checks if a value exists in an array or not, it will return true if value exists in array and false if not exists. Ex. $city = array("Chandigarh", "Delhi", "Mohali"); if (in_array("Delhi", $city)) { echo "City found"; }else { echo "City not found"; } - [Answer for What is a difference between Echo and Print statement?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-a-difference-between-echo-and-print-statement) - echo() can take multiple expressions but print cannot take multiple expressions.Print return true or false based on success or failure but echo doesn't return true or false. - [Answer for What are the different types of errors in PHP.](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-are-the-different-types-of-errors-in-php) - Below are the 3 types of errors in PHP: 1) Notices: Notices are the non-critical errors. for example : accessing a not defined variable.2) Warnings: Warnings are more serious errors then Notices. But they do not termination script. for example : calling include() a file which does not exist.3) Fatal errors: Fatal errors are critical - [Answer for How we can display the total number of elements in Array?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-we-can-display-the-total-number-of-elements-in-array) - echo sizeof($ar); echo count($ar); - [Answer for HOW TO MAKE WEBSITE IN JOOMLA 2.5?????](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-make-website-in-joomla-2-5) - I don't know what is your Core PHP Project But JOOMLA is a CMS (content management system). To create a website in Joomla, you have to download joomla setup and install it on your server. Then follow the below steps: Step 1: Create a website structure. Step2: Add content and articles Step 3: Create a - [Answer for how to get sum of two numbers with using only enter button](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-how-to-get-sum-of-two-numbers-with-using-only-enter-button) - Yes, it can be done in following 2 ways:- 1) add event will call when you remove cursor from t2 text box and result will display. 2) add event will call when you click on t2 text box and result will display. Please Let me know in case - [Answer for what is php?](https://bestonetechnologies.com/blog/dwqa-answer/answer-for-what-is-php) - Php is server side scripting language. ## Categories - [PHP](https://bestonetechnologies.com/blog/category/php) - contain php related info - [Wordpress](https://bestonetechnologies.com/blog/category/wordpress) - WordPress posts - [MySQL](https://bestonetechnologies.com/blog/category/mysql) - mysql database - [Wordpress Plugins](https://bestonetechnologies.com/blog/category/plugins) - about different popular plugins - [Contact Form 7](https://bestonetechnologies.com/blog/category/plugins/contact-form-7) - facts about contact form 7 - [SQL Server](https://bestonetechnologies.com/blog/category/sqlserver) - Sql Server is a database. - [JavaScript](https://bestonetechnologies.com/blog/category/javascript) - java script is client side scripting language, helps to make website dynamic and effective. - [Codeigniter](https://bestonetechnologies.com/blog/category/codeigniter) - codeigniter is a framework in php with MVC architecture. - [CakePHP](https://bestonetechnologies.com/blog/category/cakephp) - [PHP step by step tutorials](https://bestonetechnologies.com/blog/category/php-step-by-step-tutorials) - step wise php tutorials. - [AngularJS](https://bestonetechnologies.com/blog/category/angularjs) - AngularJs is a open source JavaScript Framework comes with new attributes, it’s version 1.0 released in 2012 and now maintained by Google. AngularJs is prefect for a Single Page Applications. - [HTML](https://bestonetechnologies.com/blog/category/html) - HTML is the basic language of any browser and if we want to make website then there is no way around HTML. It’s a set of tags and each tag describes different web page content. - [jQuery](https://bestonetechnologies.com/blog/category/jquery) - [Node.Js](https://bestonetechnologies.com/blog/category/node-js) - In the dynamic realm of web development, Node.js shines as a game-changer, redefining how developers create server-side applications. - [Artificial Intelligence](https://bestonetechnologies.com/blog/category/artificial-intelligence) ## Tags - [date](https://bestonetechnologies.com/blog/tag/date) - [calculate age](https://bestonetechnologies.com/blog/tag/calculate-age) - [date format in php](https://bestonetechnologies.com/blog/tag/date-format-in-php) - [Submit Form with JavaScript](https://bestonetechnologies.com/blog/tag/submit-form-with-javascript) - [Short open tag](https://bestonetechnologies.com/blog/tag/short-open-tag) - [@ Avoid Warning](https://bestonetechnologies.com/blog/tag/avoid-warning) - [oops features](https://bestonetechnologies.com/blog/tag/oops-features) - [mysql_insert_id()](https://bestonetechnologies.com/blog/tag/mysql_insert_id) - [Latest Inserted Id](https://bestonetechnologies.com/blog/tag/latest-inserted-id) - [global var](https://bestonetechnologies.com/blog/tag/global-var) - [wordpress](https://bestonetechnologies.com/blog/tag/wordpress-2) - [cakephp](https://bestonetechnologies.com/blog/tag/cakephp-2) - [search](https://bestonetechnologies.com/blog/tag/search) - [this](https://bestonetechnologies.com/blog/tag/this) - [php](https://bestonetechnologies.com/blog/tag/php-2) - [php in 45 days](https://bestonetechnologies.com/blog/tag/php-in-45-days) - [JavaScript](https://bestonetechnologies.com/blog/tag/javascript) - [html](https://bestonetechnologies.com/blog/tag/html) - [login script](https://bestonetechnologies.com/blog/tag/login-script) - [jQuery](https://bestonetechnologies.com/blog/tag/jquery) - [CSS](https://bestonetechnologies.com/blog/tag/css) - [mysql](https://bestonetechnologies.com/blog/tag/mysql) ## Question Categories - [Questions](https://bestonetechnologies.com/question/question-category/questions) - [PHP Interview Questions](https://bestonetechnologies.com/question/question-category/php-interview-questions) - PHP Interview Questions. - [Html](https://bestonetechnologies.com/question/question-category/html) - Hypertext Markup Language. - [CSS (Cascading Style Sheets)](https://bestonetechnologies.com/question/question-category/cascading-style-sheets) - Cascading Style Sheets: used to design the web pages. - [jQuery](https://bestonetechnologies.com/question/question-category/jquery) - [CodeIgniter](https://bestonetechnologies.com/question/question-category/codeigniter) - codeigniter is php framework. - [PHP](https://bestonetechnologies.com/question/question-category/php) - php is a server side scripting language. - [MySQL](https://bestonetechnologies.com/question/question-category/mysql) - [JavaScript](https://bestonetechnologies.com/question/question-category/javascript) - JavaScript is a client side scripting language. - [Server & Hosting](https://bestonetechnologies.com/question/question-category/server-and-hosting) - Server & Hosting related issues. ## Question Tags - [php](https://bestonetechnologies.com/question/question-tag/php-3) - [array](https://bestonetechnologies.com/question/question-tag/array) - [interview questions](https://bestonetechnologies.com/question/question-tag/interview-questions) - [interview question](https://bestonetechnologies.com/question/question-tag/interview-question) - [mysql](https://bestonetechnologies.com/question/question-tag/mysql-2) - [html](https://bestonetechnologies.com/question/question-tag/html-2) - [css](https://bestonetechnologies.com/question/question-tag/css) - [kinds of css](https://bestonetechnologies.com/question/question-tag/kinds-of-css) - [hypertext link](https://bestonetechnologies.com/question/question-tag/hypertext-link) - [comments](https://bestonetechnologies.com/question/question-tag/comments) - [iframe](https://bestonetechnologies.com/question/question-tag/iframe) - [meta tags](https://bestonetechnologies.com/question/question-tag/meta-tags) - [jQuery](https://bestonetechnologies.com/question/question-tag/jquery) - [mysql duplicate records](https://bestonetechnologies.com/question/question-tag/mysql-duplicate-records) - [palindromic number in PHP](https://bestonetechnologies.com/question/question-tag/palindromic-number-in-php) - [static variable](https://bestonetechnologies.com/question/question-tag/static-variable) - [magic constants](https://bestonetechnologies.com/question/question-tag/magic-constants) - [enum](https://bestonetechnologies.com/question/question-tag/enum) - [MySql triggers](https://bestonetechnologies.com/question/question-tag/mysql-triggers) - [Double and Float](https://bestonetechnologies.com/question/question-tag/double-and-float) - [codeigniter](https://bestonetechnologies.com/question/question-tag/codeigniter) - [url](https://bestonetechnologies.com/question/question-tag/url) - [Loops in php](https://bestonetechnologies.com/question/question-tag/loops-in-php) - [theme](https://bestonetechnologies.com/question/question-tag/theme) - [stylesheet](https://bestonetechnologies.com/question/question-tag/stylesheet) - [JavaScript](https://bestonetechnologies.com/question/question-tag/javascript) - [Codeigniter hooks](https://bestonetechnologies.com/question/question-tag/codeigniter-hooks) - [MySql import](https://bestonetechnologies.com/question/question-tag/mysql-import) - [google re-captcha](https://bestonetechnologies.com/question/question-tag/google-re-captcha) - [php session](https://bestonetechnologies.com/question/question-tag/php-session) - [random password](https://bestonetechnologies.com/question/question-tag/random-password) - [fbvbfgfg.vcdgecgfg.09@mail.ru](https://bestonetechnologies.com/question/question-tag/fbvbfgfg-vcdgecgfg-09mail-ru) - [4rusforex@gmail.com](https://bestonetechnologies.com/question/question-tag/4rusforexgmail-com) - [PEAR](https://bestonetechnologies.com/question/question-tag/pear) - [Import large database in MySql](https://bestonetechnologies.com/question/question-tag/import-large-database-in-mysql) - [#email #SMTP](https://bestonetechnologies.com/question/question-tag/email-smtp) - [No direct script access allowed](https://bestonetechnologies.com/question/question-tag/no-direct-script-access-allowed) - [PHP full form](https://bestonetechnologies.com/question/question-tag/php-full-form)