questions/web-development/php
Hello, You can checkout if it's a search ...READ MORE
Hello, You can use TestCase instead PHPUnit_Framework_TestCase // use the following namespace use ...READ MORE
Hii, I edited /etc/phpmyadmin/config.inc.php and changed the following ...READ MORE
Hii @kartik, Working with different servers with various ...READ MORE
Hii @kartik, Try out this code $ens = $em->getRepository('AcmeBinBundle:Marks') ...READ MORE
Hello @kartik, We setup wildcard DNS like they ...READ MORE
Hello @kartik, Try out with the Smarty Session: {$smarty.session|@debug_print_var} or {$smarty.session|@print_r} To ...READ MORE
Hello, Prior to PHP 7 type hinting can only be ...READ MORE
Hello @kartik, The permissions for the storage and vendor folders should stay ...READ MORE
Hello @kartik, You can use the PHP function ...READ MORE
Hello, Implementation of a callback is done like ...READ MORE
Hii, If you don't have access to php.ini, adding ...READ MORE
Hii, The easiest way to do this: class MyController ...READ MORE
Hello, Considering that you have $replaced = array('1' => ...READ MORE
Hello @kartik, I've used, it's an attempt to ...READ MORE
Hello Nishant, You are getting this error because your ...READ MORE
Hii, You can try this: $query="SELECT * FROM CountryInfo ...READ MORE
Hello, You have to follow the below steps: bind-address ...READ MORE
Hello @kartik, Try-Username: root Password: (No password set). Sometimes it doesn't ...READ MORE
Hello @kartik, Suppose, item_id is an integer identity column in items table ...READ MORE
Hello @kartik, The @ symbol is the error control operator ("silence" or "shut-up" ...READ MORE
Hello @kartik, Consider the following query: $iId = mysql_real_escape_string("1 ...READ MORE
Hello, Here is a code sample of a good ...READ MORE
Hello, Submitting multi-value form fields, i.e. submitting arrays ...READ MORE
Hello. These are configurable variables in php.ini: ; with ...READ MORE
Hello @kartik, This is fairly simple: if (!$data = ...READ MORE
Hello, It's the "null coalescing operator", added in ...READ MORE
Hello, on php7 run for example: > sudo apt-get ...READ MORE
Hello, I checked php -i | grep pdo and noticed ...READ MORE
Hello, HTML Encoding htmlspecialchars will convert any "HTML special characters" ...READ MORE
Hii, Here is an approach I have used, it's ...READ MORE
Hello @kartik, You can also do this via ...READ MORE
Hello @kartik 1.) Download PHPMailer, open the zip file ...READ MORE
Hello, Just use php composer.phar require For example : php ...READ MORE
Hello kartik, Use session_id(), it returns an empty string ...READ MORE
Hello @kartik, The best way for getting input string is: $value ...READ MORE
Hii @kartik, If you want the biggest image ...READ MORE
Hii @kartik, The $_REQUEST variable is used to read the ...READ MORE
Hello, To upload a file by using PHP, ...READ MORE
Hello, mysqli_pconnect() function is used for making a persistence ...READ MORE
Hello kartik, Actually there are many functions that ...READ MORE
Hey @kartik, You have to provide MySQL hostname, ...READ MORE
Hey, The way by which PHP can assign ...READ MORE
Hello, When the variable is passed as value ...READ MORE
Hello kartik, MySQL is the most popular database ...READ MORE
Hey, You can follow the steps below in ...READ MORE
Hey kartik, A variable declared outside a function has a ...READ MORE
Hey @kartik, It's quite simple to have php ...READ MORE
Hii @kartik, JSON stands for JavaScript Object Notation, ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.