• Home
  • Amoeba
  • ASK
  • Community
  • Source Codes
  • Contact Us
Blue Orange Green Pink Purple

Amoeba Solution Kiosk

Amoeba! an innovative Idea House based in Bangalore provides solutions in Web, Software & Media world. The ASK (Amoeba Solution Kiosk) community founded by Amoeba enables and encourages various technology discussions across beginners, experts & the geeks of the Web World.

Developers can download program modules, source codes, solved problems and can ask questions on various technologies.

Ask a Question Now!

Read More Posted by Aneeska
May 13

Joining multiple tables in CakePHP using bindModel method

One of the most powerful features of CakePHP is the ability to link relational mapping provided by the model. In CakePHP, the links between models are handled through associations. The associations are defined in the models as hasOne, hasMany, belongsTo etc. It is possible to define deep relationships involving many tables and retrieve data. But CakePHP doesn’t always form a single query to associate many tables and retrieve records. Often it joins a couple of tables first and look in the other tables matching the IDs of the first query result. So a multiple join association is achieved through more than one queries. This method often troubles you when you want to do a search in fields across multiple tables.

Read More 0 Comments   |   Posted in CakePHP, PHP/MySQL   |   Posted by Aneeska
May 10

Convert under_scored strings to CamelCased without RegEx in PHP

Developers normally use functions that use Regular Expression to convert under_scored strings in to CamelCased strings. Usage of Regular Expression is quite heavy. We can use a simple yet powerful method to convert these strings to CamelCase without using RegEx in PHP.

Read More 2 Comments   |   Posted in PHP/MySQL, Programming Techniques   |   Posted by Aneeska
Apr 22

Enhance your Website Performance – Best Practices

Do you think your website is sluggish? Does it take a lot of time to download on to a user computer? Here are some techniques to make your site load faster on user computers and enhance it’s performance. These are some of the best practices followed in the Web industry. Implementing these practices has proved that your site will become 20-30% faster. This tutorial is for advanced users and I haven’t explained it in detail.

Read More 1 Comment   |   Posted in CSS & XHTML, Enterprise Web, Javascript & Libraries, PHP/MySQL, Programming Techniques   |   Posted by Aneeska
Mar 05

Alternate Table Row Color Styling or Zebra Table using Prototype

This tutorial teaches you to easily apply Zebra styling to your static/dynamic tables. The method of styling alternate rows with different colors is also known as Zebra styling. We normally achieve this by defining two sets of styles for odd and even rows of a table and manually adding these class names in to the [...]

Read More 1 Comment   |   Posted in CSS & XHTML, Javascript & Libraries   |   Posted by Aneeska
Feb 26

Failed To Read Auto-Increment Value From Storage Engine – MySQL

Failed To Read Auto-Increment Value From Storage Engine Error in MySQL.
This is a very strange MySQL error. The error happens when trying to insert a new row in to a table. Basically this is a bug in MySQL that causes the problem but a work around is simple. The problem happens when the Auto-Increment value [...]

Read More 4 Comments   |   Posted in PHP/MySQL   |   Posted by Aneeska
Feb 15

POSTing unselected OPTIONS in a SELECT tag

When a form is submitted to the server, only selected values in a multiple SELECT box reaches the server. It is not possible to access the unselected options in a SELECT box from the server. Though this is not really required always, there are situations where you would want to access all the options in [...]

Read More 0 Comments   |   Posted in CSS & XHTML, Javascript & Libraries, PHP/MySQL   |   Posted by Aneeska
Feb 15

HTML Form – Moving options from one SELECT to another

This article basically talks about two things.
1) A Javascript code to move options from one multiple select box to another in a form.
Move options from one SELECT box to another:
There are two multiple SELECT boxes and one has got some OPTIONS in it. User can select one or more options from one and click on [...]

Read More 0 Comments   |   Posted in CSS & XHTML, Javascript & Libraries   |   Posted by Aneeska
Feb 05

PHP Encountered Access Violation at [memory address]

PHP Encountered Access Violation at [some random memory address]
Many of the guys who asked me about this problem faced it when trying to run PHPMyAdmin or other applications which access database, after setting up a local PHP environment on their machine under IIS.
Try these fixes.
Add your PHP path (the location of PHP files in your [...]

Read More 0 Comments   |   Posted in PHP/MySQL   |   Posted by Aneeska
Feb 03

Multiple Insert in Single Query – PHP/MySQL

Often, we come across situations where we need to INSERT multiple rows in to a database table from an Array, File or even from another Database Table. I am explaining various methods for inserting multiple rows using a single query using MySQL and PHP.
MySQL documentation says you can use the following methods to speed up [...]

Read More 14 Comments   |   Posted in PHP/MySQL, Programming Techniques   |   Posted by Aneeska
Jan 29

Convert XML to Array in PHP

Convert XML to Array in PHP usingĀ  SimpleXML

Though I would suggest using DomDocument for parsing XML strings and files in PHP, here is an example of converting XML to an Array in PHP using SimpleXML method. The SimpleXML extension in PHP provides a very simple and easily usable toolset to convert XML to an [...]

Read More 2 Comments   |   Posted in PHP/MySQL   |   Posted by Aneeska
Previous Page 2 of 3 Next Page
  • About
    Amoeba! an innovative Idea House based in Bangalore provides solutions in Web, Software & Media world. The ASK (Amoeba Solution Kiosk) community founded by Amoeba enables and encourages various technology discussions across beginners, experts & the geeks of the Web World.

    Developers can download program modules, source codes, solved problems and can ask questions on various technologies.

    Mail your questions to ask@amoeba.co.in
  • Search a Topic


  • Categories
    • CakePHP
    • Computers
    • CSS & XHTML
    • Enterprise Web
    • Flash & Action Script
    • Flex
    • Javascript & Libraries
    • Perl Programming
    • PHP/MySQL
    • Programming Techniques
    • Regular Expression
    • Social Media
  • Recent Visitors
  • Recent Articles
    • How to Protect your SWF (AS2 or AS3). Prevent SWF Decompile using SWF Protector
    • PHP – Search in an Array for Values Matching a Pattern – Regex, Wildcard
    • PHP – How to Get Browser Properties and Capabilities – get_browser()
    • CakePHP – Search for records between two dates inclusively
    • Notebook/Laptop hangs frequently/random (on Low Battery when AC power is connected)
    • Swap Values Without Temp or A Third Variable in PHP
    • CakePHP – Auth Login Redirect Problem with Plugins
    • Convert PHP array to Javascript array
    • CakePHP – Accessing a model in AppController or in any Controllers
    • Save Images from Flash – Actionscript 3, Filereference.save, JPGEncoder
  • Archives
    • September 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
  • Tags
      vertically center horizontally align dead center div amoeba ask credit card workbench decryption solutions kiosk questions horizontal center align vertical center align css trick solution css encryption as2 flash regex as3 Regular Expression action script mysql array CakePHP php

  • Donate

      If you find this site helpful, please donate to Amoeba Solution Kiosk. We will be using the money received for conducting technology awareness camps and seminars for school and college students in rural areas of Kerala, India.

  • Links
    • Amoeba Solutions
    • Blog Catalog
  • Home
  • Amoeba
  • ASK
  • Community
  • Source Codes
  • Contact Us

© Copyright Amoeba Solution Kiosk. All rights reserved.
An Amoeba Concept!

Back to Top