questions/web-development/page/48
Hello, You can first refer how to Create controller through ...READ MORE
Hello @kartik, You can use : sha1(time()) Explanation: sha1 is ...READ MORE
Hello @kartik, The use keyword is what you need: $id = ...READ MORE
You can try this one: error_reporting(E_ALL); ini_set('display_err ...READ MORE
Hello @kartik, You can do it with {{ form_widget(formView._token) ...READ MORE
Hello @kartik, You can update the cache object ...READ MORE
Hello @kartik, Try the following script to see ...READ MORE
Hello, Make directory for images in myapp/public/images and ...READ MORE
Hello @kartik, Assuming you have a button with ...READ MORE
Hello @kartik, Try this: preg_replace('/\\?.*/', '', $str) Hope ...READ MORE
Hello @kartik, Error occurred here was due to ...READ MORE
Hello @kartik, $.getJSON is asynchronous so you should do: $.getJSON("test.json", ...READ MORE
Hello @kartik, $_GET is not a function or language ...READ MORE
Hello @kartik, Replace TYPE=MyISAM with ENGINE=MyISAM The problem was "TYPE=MyISAM" which should ...READ MORE
Hello, node keeps track of all outstanding work ...READ MORE
Hello @kartik, cache:clear artisan command does calls flush function on current ...READ MORE
Hii @kartik, Try out this code $ens = $em->getRepository('AcmeBinBundle:Marks') ...READ MORE
Hello @kartik, Try this: npm cache clean --force OR It ...READ MORE
Hello @kartik, Try this: revision = require('child_process') .execSync('git ...READ MORE
Hii, You can simply use: $new_collection = $collection->merge($other_collection). Hope it ...READ MORE
Hello @kartik, If you are able to obtain ...READ MORE
Hello, Environment variables (in this case) are being ...READ MORE
Hello @kartik, Check current scrollTop vs previous scrollTop var lastScrollTop = 0; $(window).scroll(function(event){ ...READ MORE
Hello @Felix , Use this code: <script> function simulateMouseEvents(element, eventName) ...READ MORE
Hello @kartik, Here is a sample: <?php // Snippet from ...READ MORE
Hello @kartik, You need the :not() selector: $('div[cla ...READ MORE
Hello @kartik, Use this: function popupwindow(url, title, w, h) ...READ MORE
Hello @kartik, To get only the name of ...READ MORE
Hello @kartik, If you've upgraded node then npm rebuild might ...READ MORE
Hello @kartik, Use the browser history to change ...READ MORE
Hello @kartik, PHP has a built in function ...READ MORE
Hello @kartik, If you're using PDO, use PDO::lastInsertId. If you're ...READ MORE
Hello @kartik, The PHP and the HTML should ...READ MORE
Hello @kartik, Try this: $session = Mage::getSingleton("core/session", array("name"=>"frontend")); // ...READ MORE
Hello @kartik, With the modal open in the ...READ MORE
Hello @kartik, Single quotes are escaped by doubling ...READ MORE
Hello, Use $_SESSION directly to set variables. Like this: $_SESSION['name'] = 'stack'; Instead ...READ MORE
Hello @kartik, When you run php artisan config:cache, Laravel ...READ MORE
Hello @kartik, The date_format validator takes only one date format ...READ MORE
Hello, Webkit browsers set the height and width ...READ MORE
Use hasOwnProperty(key) for (let i = 0; i ...READ MORE
Hello @kartik. PHP has built-in extensions for dealing ...READ MORE
Hello @kartik, You can use instanceof: if ($pdo instanceof PDO) ...READ MORE
Hello @kartik, Find your php.ini and look for XDebug. Set xdebug ...READ MORE
Hello, You can write like this, you need ...READ MORE
Hello @kartik, If you just want to get ...READ MORE
Hello @kartik, To update NPM, this worked for ...READ MORE
Hello @kartik, In your request object there is a property ...READ MORE
Hello @kartik, You have 2 options : Create a ...READ MORE
Hello @kartik, You can instruct curl to use ...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.