Other snippets

Other snippets that would help in solving quick and easy problems.


How to do a batch insert in MySQL?

mysql feature

How to do a batch insert in MySQL? In this tutorial, I will present you how to do a batch insert in mysql. Let’s say you want to insert some informations from an array into the database. In order for this to work efficient, you should have more than one information in that array. Why

Disable temporary a foreign key constraint in MySQL

snippets

Disable temporary a foreign key constraint in MySQL Were you in the situation of having a mysql table and wanted to delete some records from it, but you were not allowed due to the constraints of that table? Don’t worry, me too. Or if you use foreign keys in your database tables, you’ll probably have problems

The controller for URI is not callable in symfony

snippets

The controller for URI is not callable in symfony This is a very common error for symfony starters, and it happened to me also when I first tried the framework, so you have to follow two steps in order to debug this: First check First step is to make sure that your controller is actually

Change value of selectbox in Zurb Foundation via JavaScript

snippets

Change value of selectbox in Zurb Foundation via JavaScript Some of us tried to change or will have to change via javascript a select-box that is generated from the custom forms of Zurb Foundation  framework. You noticed or you will notice that it is not as simple as changing a default html select-box. Why ?

Request an article ←