March, 2010

Quick Search

Declaring string arrays

March 17th, 2010 by admin
No comments »

First, here we observe that there are some ways to declare and instantiate a string[] array local variable. They are all equivalent in the compiled code [see note], so choose the one you think is clearest to read.

~~~ Program that initializes string arrays (C#) ~~~
 
class Program
{
    static void Main()
    {
  // … Read More

Count number of words in a MySQL column

March 5th, 2010 by admin
4 comments »

This is a general requirement to count number of words in a column of a MySQL database table. But MySQL does not have any built in function to count number of words as it generally has for number of purposes.

But you can do it with a simple trick e.g. you … Read More

Get the width and height of an image using a function in PHP

March 2nd, 2010 by admin
No comments »

Syntax

 

list($width, $height, $type, $attr) = getimagesize(“image_name.jpg“);

< ? php

Read More

SEO Company India

search engine marketing company India that offers affordable seo services