Thursday, April 28, 2011

Retrieve Data From a MySQL Database



Retrieve Data From a MySQL Database

Using PHP you can run a MySQL SELECT query to fetch the data out of the database. You have several options in fetching information from MySQL. PHP provide several functions for this. The first one is mysql_fetch_array()which fetch a result row as an associative array, a numeric array, or both.

Below is an example of fetching data from MySQL, the table contact have three columns, name, subject and message.

Example : select.php
Source code : select.phps, contact.txt

include 'config.php';
include 'opendb.php';

$query  = "SELECT name, subject, message FROM contact";
$result = mysql_query($query);

while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
    echo "Name :{$row['name']}
" .
         "Subject : {$row['subject']}
" .
         "Message : {$row['message']}

";
}

include 'closedb.php';
?>

The while() loop will keep fetching new rows until mysql_fetch_array() returns FALSE, which means there are no more rows to fetch. The content of the rows are assigned to the variable $row and the values in row are then printed. Always remember to put curly brackets when you want to insert an array value directly into a string.

In above example I use the constant MYSQL_ASSOC as the second argument to mysql_fetch_array(), so that it returns the row as an associative array. With an associative array you can access the field by using their name instead of using the index . Personally I think it's more informative to use $row['subject'] instead of $row[1].

PHP also provide a function called mysql_fetch_assoc() which also return the row as an associative array.

include 'config.php';
include 'opendb.php';

$query  = "SELECT name, subject, message FROM contact";
$result = mysql_query($query);

while($row = mysql_fetch_assoc($result))
{
    echo "Name :{$row['name']}
" .
         "Subject : {$row['subject']}
" .
         "Message : {$row['message']}

";
}

include 'closedb.php';
?>

You can also use the constant MYSQL_NUM, as the second argument to mysql_fetch_array(). This will cause the function to return an array with numeric index.

include 'config.php';
include 'opendb.php';

$query  = "SELECT name, subject, message FROM contact";
$result = mysql_query($query);

while($row = mysql_fetch_array($result, MYSQL_NUM))
{
    echo "Name :{$row[0]}
" .
         "Subject : {$row[0]}
" .
         "Message : {$row[0]}

";
}

include 'closedb.php';
?>

Using the constant MYSQL_NUM with mysql_fetch_array() gives the same result as the function mysql_fetch_row().
There is another method for you to get the values from a row. You can use list(), to assign a list of variables in one operation.

include 'config.php';
include 'opendb.php';

$query  = "SELECT name, subject, message FROM contact";
$result = mysql_query($query);

while(list($name,$subject,$message)= mysql_fetch_row($result))
{
    echo "Name :$name
" .
         "Subject : $subject
" .
         "Message : $row

";
}

include 'closedb.php';
?>

In above example, list() assign the values in the array returned by mysql_fetch_row() into the variable $name, $subject and $message.

Of course you can also do it like this

include 'config.php';
include 'opendb.php';

$query  = "SELECT name, subject, message FROM contact";
$result = mysql_query($query);

while($row = mysql_fetch_row($result))
{
    $name    = $row[0];
    $subject = $row[1];
    $message = $row[2];


    echo "Name :$name
" .
         "Subject : $subject
" .
         "Message : $row

";
}

include 'closedb.php';
?>

So you see you have lots of choices in fetching information from a database. Just choose the one appropriate for your program

Monday, April 25, 2011

Drupal 7 Views 3.0 Tutorial

Drupal 7 Views 3.0 Tutorial

The Drupal forms API is a powerful leap forward. It also allows for almost unlimited possibilities for custom theming, validation, and execution of forms. Even better, ANY form (even those in core) can be altered in almost any way imaginable--elements can be removed, added, and rearranged. This page is certainly not a comprehensive guide to this functionality, but should provide a good working foundation with which to do the most basic form creation, theming, validation, and execution. For programming details on form elements and their properties, please see the Forms API Reference.

Creating Forms

Form elements are now declared in array fashion, with the hierarchical structure of the form elements themselves as array elements (which can be nested), and each form elements properties/attributes listed as array elements in key/value pairs--the key being the name of the property/attribute, and the value being the value of the property/attribute. For example, here's how to go about constructing a textfield form element:
$form['foo'] = array(
  '#type' => 'textfield'
  '#title' 
=> t('bar'),
  
'#default_value' => $object['foo'],
  
'#size' => 60,
  
'#maxlength' => 64
  '#description' 
=> t('baz'),
);
?>
and a submit button:
$form['submit'] = array(
  '#type' 
=> 'submit',
  
'#value' => t('Save'),
);
?>
a few things to note:
  1. The element's name property is declared in the $form array, at the very end of the array tree. For example, if an element in the form tree was structured like this:

    $form['account_settings']['username']
    ?>

    ...then that element's name property is 'username'--this is the key it will be available under in$form_state['values'], in your validation and submission functions, as the form code flattens the array in this fashion before it passes the key/value pairs. NOTE: if you wish to have the full tree structure passed to $form_state['values'], this is possible, and will be discussed later.
  2. The type of form element is declared as an attribute with the '#type' property.
  3. Properties/attributes keys are declared with surrounding quotes, beginning with a # sign. Values are strings.
  4. The order of the properties/attributes doesn't matter, and any attributes that you don't need don't need to be declared. Many properties/attributes also have a default fallback value if not explicitly declared.
  5. Don't use the '#value' attribute for any form elements that can be changed by the user. Use the '#default_value' attribute instead. Don't put values from $form_state['values'](or $_POST) here! FormsAPI will deal with that for you; only put the original value of the field here.
One great advantages of this system is that the explicitly named keys make deciphering the form element much easier.
Let's take a look at a working piece of code using the API:
function test_form($form_state) {
  
// Access log settings:
  
$options = array('1' => t('Enabled'), '0' => t('Disabled'));
  
$form['access'] = array(
    '#type' 
=> 'fieldset'
    '#title' 
=> t('Access log settings'), 
    '#tree' 
=> TRUE,
  
);
  
$form['access']['log'] = array(
    '#type' 
=> 'radios'
    '#title' 
=> t('Log'), 
    '#default_value' 
=>  variable_get('log'0), 
    '#options' 
=> $options
    '#description' 
=> t('The log.'),
  );
  
$period drupal_map_assoc(array(360010800216003240043200,864001728002592006048001209600241920048384009676800),'format_interval');
  
$form['access']['timer'] = array(
    
'#type' => 'select'
    '#title' 
=> t('Discard logs older than'), 
    '#default_value' 
=> variable_get('timer'259200), 
    '#options' 
=> $period
    '#description' 
=> t('The timer.'),
  );
  
// Description
  
$form['details'] = array(
    
'#type' => 'fieldset'
    '#title' 
=> t('Details'), 
    '#collapsible' 
=> TRUE
    '#collapsed' 
=> TRUE,
  
);
  
$form['details']['description'] = array(
    
'#type' => 'textarea'
    '#title' 
=> t('Describe it'), 
    '#default_value' 
=>  variable_get('description'''), 
    '#cols' 
=> 60
    '#rows' 
=> 5
    '#description' 
=> t('Log description.'),
  );
  
$form['details']['admin'] = array(
    '#type' 
=> 'checkbox'
    '#title' 
=> t('Only admin can view'), 
    '#default_value' 
=> variable_get('admin'0),
  );
  
$form['name'] = array(
    '#type' 
=> 'textfield'
    '#title' 
=> t('Name'), 
    '#size' 
=> 30
    '#maxlength' 
=> 64
    '#description' 
=> t('Enter the name for this group of settings'),
  );
  
$form['hidden'] = array('#type' => 'value''#value' => 'is_it_here');
  
$form['submit'] = array('#type' => 'submit''#value' => t('Save'));
  return 
$form;
}

function test_page() {
  return 
drupal_get_form('test_form');
}
?>



--

cid:image001.gif@01C5FA47.60698FC0

Wednesday, April 20, 2011

விஜய் வீட்டுக்கு விழுந்த கல் வீச்சால் அரசியலில் ஈடுபடக் கோரும் ரசிகர்கள்!

Welcome to Mahe's home page!




         நடிகர் விஜய் சட்டமன்ற தேர்தலையொட்டி அரசியலில் ஈடுபடுவார் என எதிர் பார்க்கப்பட்டது. இரு மாதங்களுக்கு முன்பே இதற்கான ஆயத்த பணிகளில் இறங்கினார்.
         மாவட்ட ரசிகர்மன்ற நிர்வாகிகளை சென்னைக்கு வரவழைத்து கருத்துக்களும் கேட்டார். எல்லோரும் ஒட்டு மொத்தமாக அரசியல் கட்சி துவங்க வேண்டும் என வற்புறுத்தினர்.
இதையடுத்து விஜய் துவக்கிய மக்கள் இயக்கம் அரசியல் கட்சியாக மாற்றப்படும் என்றும் அ.தி.மு.க.வுடன் கூட்டணி அமைத்து தேர்தலில் அவர் போட்டியிடுவார் என்றும் கூறப்பட்டது.
        ஆனால் திடீரென முடிவை மாற்றிக் கொண்டார். அ.தி.மு.க.வுக்கு மக்கள் இயக்கம் ஆதரவு அளிக்கும் என்று அறிவித்ததோடு ஒதுங்கிக் கொண்டார். ஆனால் இருதினங்களுக்கு முன் சாலி கிராமத்தில் உள்ள விஜய் வீடு கல்வீசி தாக்கப்பட்டது. அவர் படுக்கை அறையை நோக்கி கற்கள் வீசப்பட்டன. இதில் ஜன்னல் கண்ணாடிகள் உடைந்தது.
         அப்போது விஜய் வீட்டில் இல்லை. கொட்டிவாக்கத்தில் உள்ள வீட்டில் தங்கி இருந்தார். விஜய் வீட்டில் கல்வீசப்பட்ட தகவல் தமிழகம் முழுவதும் ரசிகர்களை கொதிப்படைய வைத்துள்ளது. விஜய் உடனடியாக அரசியலில் ஈடுபட வேண்டும் என்று அவர்கள் கடிதம் மூலமாகவும், போனிலும் வற்புறுத்தி வருகின்றனர்.
         கல்வீச்சு சம்பவத்தை எப்படி எதிர் கொள்வது என நெருக்கமானவர்களுடன் ஆலோசனை நடத்தி வருகிறார்.

Monday, April 18, 2011

2900 ஆண்டு முன்பே மூளை ஆபரேஷன்!





பீஜிங் : நவீனமயமாகி விட்ட மருத்துவ உலகில் மூளை, இதயம் மற்றும் முதுகு தண்டுவடம் உள்ளிட்ட பகுதிகளில் மேற்கொள்ளப்படும் ஒரு சில சிக்கலான அறுவை சிகிச்சைகள் இன்றளவும் சவாலாகவே உள்ளன. ஆனால், திபெத் மருத்துவர்கள் இந்திய மருத்துவர் கண்காணிப்பில் சுமார் 2900 ஆண்டுகளுக்கு முன்பே மூளை அறுவை சிகிச்சை செய்து சாதனை படைத்துள்ளனர் என்பது ஆச்சரியமான விஷயம்தான். அறுவை சிகிச்சை மேற்கொள்ளப்பட்ட விதம் குறித்து மிகப்பழமையான த்ரிபித்தகா என்ற என்சைக்ளோபீடியாவில் விரிவாக விளக்கப்பட்டுள்ளதன் மூலம் இத்தகவல் தெரியவந்துள்ளது.
பண்டைய திபெத்திய நூல்கள் குறித்த ஆராய்ச்சி மேற்கொண்டு வருபவர் திபெத் பல்கலைக்கழக மொழி மற்றும் இலக்கிய ஆராய்ச்சிப் பிரிவு தலைவர் கர்மா த்ரிமேலி. இவர் மேற்கொண்ட ஆய்வில்தான் இந்த தகவல் வெளியாகி உள்ளது. சுமார் 2,900 ஆண்டுகளுக்கு முன்பு சொகைல் என்ற இளம் இந்திய மருத்துவர் ஒருவரது கண்காணிப்பில் திபெத்திய மருத்துவக் குழுவினர் மேற்கொண்ட அறுவை சிகிச்சை குறித்து நூலில் விளக்கப்பட்டுள்ளது. அறுவை சிகிச்சைக்கு முன்பு அனைத்து உபகரணங்களையும் ஸ்டெர்லைஸ் செய்ய வேண்டியதன் அவசியத்தை சொகைல் விளக்கியுள்ளார். அது அறுவை சிகிச்சையின் வெற்றிக்கு முக்கிய காரணம் என்று அந்தக் குறிப்பில் தெரிவிக்கப்பட்டுள்ளது.


சொகைல் மிகச்சிறந்த மருத்துவ வல்லுநர் என்று தெரிவித்துள்ள த்ரிபித்தகா, முதன்முதலில் சொகைனின் திபெத்திய நண்பர் ஒருவர் தீவிர தலைவலியால் அவதிப்பட்டு வந்துள்ளார். எந்தவித சிகிச்சையும் பலனளிக்காத நிலையில் சொகைனின் அறிவுரை மற்றும் மேற்பார்வையில் அவருக்கு வெற்றிகரமாக மூளை அறுவை சிகிச்சை மேற்கொள்ளப்பட்டுள்ளது என்று குறிப்பிட்டுள்ளது. கங்க்யூர் மற்றும் தங்க்யூர் என்ற 2 பாகங்களை கொண்ட த்ரிபித்தகா, சமஸ்கிருதத்தில் இருந்து திபெத்திய மொழிக்கு மொழிமாற்றம் செய்யப்பட்டிருக்க வேண்டும் என்பது வல்லுநர்களின் கணிப்பு. பவுத்த மதத்தினரின் பண்டைய வாழ்வு முறைகளை இது விரிவாக விளக்குகிறது. இதில் மருத்துவ முறைகள், இலக்கணம், இலக்கியம், மொழி, கலை, கலாசாரம், ஜோதிடம் உள்ளிட்ட விளக்கங்களும் இடம்பெற்றுள்ளது.


பஞ்சபூதங்களை ஆதாரமாக கொண்டே திபெத்திய மருத்துவம் இருந்துள்ளது. சாக்கிய முனிவர் விளக்கிய சுமார் 440 மருத்துவ முறைகள் இந்நூலில் இடம்பெற்றுள்ளது. இந்நூலில் உள்ள விளக்கங்களின் அடிப்படையிலேயே இன்றளவும் திபெத்திய மருத்துவர்களின் சிகிச்சை உள்ளது குறிப்பிடத்தக்கது. திபெத்தில் கிங்காய் பகுதியில் 1998ல் அகழ்வாராய்ச்சி மேற்கொள்ளப்பட்டது. இதில் விரிந்த நிலையில் இருந்த மண்டை ஓடுகள் ஏராளமாக கண்டெடுக்கப்பட்டது. இவை தீவிர ஆய்வுக்கு உட்படுத்தப்பட்டது. இதில் 5 ஆயிரம் ஆண்டுகளுக்கு முன்பே மூளை அறுவைசிகிச்சை நடந்திருப்பதாக ஆராய்ச்சியாளர்கள் கருத்து தெரிவித்திருந்தது குறிப்பிடத்தக்கது.

Saturday, April 9, 2011

Velayutham Vijay Movie Photo Gallery



Velayutham Stills | Velayutham Vijay Movie Photo Gallery:


The heroine of the Velayudham Movie is Hansika Motwani. 
Vijay’s 52nd movie titled as Velayudham is being directed by Jeyam Raja. 
Hansika Motwani has completed the shoot of her first film in Tamil, Dhanush’s Maapillai, 
and has also signed up Jayam Ravi’s Prabhu Deva directed Itch. 
It’s Not clear that some sources tell Genelia to pair with Vijay in the movies.


Velayutham-Movie-Poster  Velayutham-Movie-Still  Velayutham-Movie-Still-Vijay-1  Velayutham-Movie-Still-Vijay-2
Velayutham-Movie-Still-Vijay-3  Velayutham-Movie-Still-Vijay-Genelia  Velayutham-Movie-Still-Vijay-Genelia-1  Velayutham-Movie-Vijay-Still

Sunday, April 3, 2011

TEAM INDIA SAYS: IT’S FOR SACHIN



     After realising India’s dream to lift its second World Cup trophy, an emotionally charged up Team India spoke their heart out after beating Sri Lanka here on Saturday. One thing that stayed common among every players’ thoughts was that they wanted to win it for Sachin Tendulkar and for the country.
World Cup’s leading wicket-taker with 21 wickets and the spearhead of India’s bowling attack Zaheer Khan said the team “wanted it too badly.”
   “We wanted it too badly. I’m glad we achieved it. Obviously, it was for the special man here (Sachin Tendulkar) standing next to me. We’re all very happy for him,” said a beaming Zaheer, pulling Yuvraj Singh to his side. “And this man here (Yuvraj), I told him long time back when he was going through a rough phase that he’s gonna win the Cup for us.
    And the man to whom the team dedicated the cup was his humble-self, stating that it was a team effort.
“Thanks to our support staff. Everyone worked very hard, especially Mike Horn who joined us before the World Cup started. And also in the last couple of games worked on our mental side to deal with expectations and pressure. So I think that has really helped,” said Tendulkar.
    “Obviously the team stuck together through ups and downs; there were a few rough phases in the team. We proved most of the people wrong, who were doubting our ability,” the master batsman added.
When quizzed about the evident self-belief in Team India, Tendulkar said it was “always there.”
    “It has always been there, a little more in the last two years when we have been consistent. It has been an honour to be part of this team. A special thanks to Gary and the whole staff. I think their contribution has been immense.”
     Virender Sehwag, who missed out in the final after a first-over dismissal while chasing 275 to win, said the team always dreamt of playing the final in Mumbai.
     “We discussed one year before when we were playing in Dambulla. We discussed that and imagined we were playing the final of the World Cup in Mumbai, 2nd of April. We prepared well. Actually we discussed in the team meeting that we will play the final and we will win the final,” said Sehwag.
Man of the Tournament Yuvraj Singh dedicated the award to his Guru ji and parents.
“I want do dedicate this award to my Guru Ji, Guru Ram Singh and Guru Ajit Singh; my mother; my parents, and our fans. Thank you very much. It won’t we possible without their support.”
On the pressure of chasing in a World Cup final, Yuvraj was quick to point out India’s failure in Johannesburg eight years back.
     “The last time we were in a World Cup final, we were chasing 358… Batting second is a lot of pressure. I think MS (Dhoni) and Gauti batted well… we batted like champions.”
He also had a special world for Narendra Hirwani who has been helping him with his bowling.
“I have been working hard on my bowling. Narender Hirwani has been helping me a lot with my bowling and it has been coming nice and taking two or three wickets really helps the team.”
An emotional Gautam Gambhir, who missed a World Cup century but made the most notable contribution of 97, said that the World Cup win is for Tendulkar.
    “We wanted to win it for Sachin Tendulkar. This World Cup is for him. It’s yet to sink in and I don’t know when it will sink in,” Gambhir said shortly after the match.
    When asked about Yuvraj and Harbhajan Singh who were in tears, Gambhir said, “They have seen nightmare of 2007, so they know how it feels to win World Cup. This is a dream come true.”
Virat Kohli, who carried Tendulkar on his shoulder during a lap of honour, said it was fitting to carry Sachin Tendulkar on their shoulders.
    “Sachin Tendulkar has carried Indian cricket on his shoulders for 21 years. So it was fitting that we carried him on our shoulders after this win,” said the promising youngster.
Harbhajan Singh, who shed tears after the historic win, said, “This means the World to me. This is for the people of our nation.”
    Last but not the least, India’s captain cool MS Dhoni, who turned it around with a Man-of-the Match performance of 91 not out in 79 balls, was quick to point out the team’s critics.
“A few decisions I have taken today, including why I brought in S Sreesanth instead of Ravichandran Ashwin and why I promoted myself in the batting order ahead of Yuvraj who has been in great form. It could have been that the decisions cost the match,” he said at the post-match presentation after India beat Sri Lanka by six wickets to lift the trophy.
    “We have been hearing a lot of things during this tournament and so it feels great to win the World Cup,” he said.
    “I always wanted to give chance to give chance to younger players by sending them up the order. Today, I thought I would take the responsibility myself. It was more like proving myself and not to others,” he said.
    “We spent the last 30-35 days together in the field and the dressing room thinking of this victory only and we have achieved that now,” he added.

நெருக்கடியான நிலைமைதான்!



          கடந்த இரண்டு நாள்களாக முதல்வர் கருணாநிதி தனது தேர்தல் பிரசாரக் கூட்டங்களில் வெளிப்படுத்தும் கருத்துகள் திகைப்பையும், அதிர்ச்சியையும் ஏற்படுத்துகின்றன. பொறுப்பான பதவியில் இருப்பவர், அரை நூற்றாண்டுகால அரசியல் அனுபவம் உள்ளவர், தமிழகத்தில் மிக அதிகமான காலம் முதல்வராக இருந்தவர், நிர்வாகம் நன்றாகத் தெரிந்தவர் பேசுகிற பேச்சாக அது இல்லை என்பதுதான் திகைப்புக்கும், அதிர்ச்சிக்கும் காரணம்.

தமிழகத்தில் அறிவிக்கப்படாத நெருக்கடி நிலை போன்ற சூழல் நிலவுவதாகவும், தமிழகத்தை ஆட்சி செய்வது தனது தலைமையிலான தி.மு.க.தானா இல்லை வேறு யாராவதா என்று தெரியவில்லை என்றும் முதல்வர் பேசியிருப்பதுபோல வேறு யாராவது பேசி இருந்தால், "ஏன் இவர் இப்படியெல்லாம் உளறுகிறார்? இவருக்கு என்னவாயிற்று?' என்று கேட்கலாம். பேசியிருப்பவர் பல முறை முதல்வராக இருந்தவர். நிர்வாகம் தெரிந்தவர். ஆட்சியில் இருப்பவர்.

ஒரு மாநிலத்தில் தேர்தல் அறிவிக்கப்பட்டுவிட்டால், அன்று முதல் தேர்தல் நடத்தை விதிமுறைகள் அமலுக்கு வந்துவிடும் என்பதும், தேர்தல் காலங்களில் ஆட்சியில் இருப்பது அதிகாரம் இல்லாத வெறும் காபந்து அரசுதான் என்பதும்கூட, ஐந்து முறை முதல்வராக இருந்த ஒருவருக்குத் தெரியாமல் இருக்கிறது என்பதை நம்ப முடியவில்லை.

""தமிழ்நாட்டை என் தலைமையிலான தி.மு.க. ஆண்டு கொண்டிருக்கிறதா அல்லது தேர்தல் ஆணையம் ஆட்சியை நடத்திக் கொண்டிருக்கிறதா என்று சந்தேகம் எழுகிறது'' என்று கூறிவிட்டு, ""தேர்தல் ஆணையத்திடம் மோதிக்கொள்ள விரும்பவில்லை. தேர்தல் ஆணையம் நடுநிலையோடு செயல்பட வேண்டும். சட்டப்படி எல்லாம் நடக்க வேண்டும். இதில் எனக்கு மாறுபட்ட கருத்து இல்லை'' என்றும் கூறுகிறார். பிறகு, தேர்தல் ஆணையத்தின்மீது ஆத்திரத்தை உமிழ்வானேன்?

முன்பெல்லாம் தேர்தல் ஆணையம் இந்த அளவுக்குக் கெடுபிடிகள் செய்யவில்லை என்றால், அந்த அளவுக்கு விதிமுறை மீறல்களும், அதிகாரத் துஷ்பிரயோகங்களும் நடக்காமல் இருந்ததுதான் காரணமே தவிர, தேர்தல் ஆணையத்துக்கு அதிகாரம் இல்லாதது அல்ல காரணம். அரசியல் சட்டம் இந்த விஷயத்தில் மிகவும் தெளிவாகவே இருக்கிறது. அரசியல் சட்டப்பிரிவு 324(1) தேர்தல் ஆணையத்துக்குத் தேர்தலை முறையாக நடத்துவதற்காக, தேர்தல் அறிவிக்கப்பட்ட நாளிலிருந்து முடிவுகள் அறிவிக்கப்படுவது வரை பரவலான, முழுமையான அதிகாரத்தை வழங்கி இருக்கிறது. அதைப் பல வழக்குகளில் உச்ச நீதிமன்றமும் உறுதிப்படுத்தி இருக்கிறது.

முறையான தேர்தல் நடத்தப்பட முறையான அதிகாரிகள் தேவை. அன்றைய ஆட்சியாளர்களால் நியமிக்கப்பட்ட அதிகாரிகள் முறையாகத் தேர்தல் நடைபெற உதவ மாட்டார்கள் என்று ஆணையம் கருதினால் அவர்களை மாற்றவும், தனது நம்பிக்கைக்குரியவர்களை நியமிக்கவும் ஆணையத்துக்கு அரசியல் சட்டம் உரிமை வழங்கி இருக்கிறது. மக்கள் பிரதிநிதித்துவச் சட்டம் 1950-ன் 13சிசி பிரிவுப்படி, தேர்தல் கால நடவடிக்கைகளுக்காகத் தேர்தல் ஆணையத்திடம் ஒப்படைக்கப்படும் அத்தனை அதிகாரிகளும், அரசு ஊழியர்களும், ஆணையத்துக்குத் தாற்காலிகமாக வழங்கப்பட்ட, ஆணையத்தின் கட்டுப்பாட்டுக்கு உள்பட்ட ஊழியர்கள்.
போட்டியிடும் வேட்பாளர்கள் மக்கள் செல்வாக்கு ரீதியாகவோ, கொள்கை ரீதியாகவோ போட்டியிட வேண்டுமே தவிர, பொருளாதார ரீதியாகப் போட்டியிடுவதை எப்படி ஆணையம் வேடிக்கை பார்த்துக் கொண்டிருக்க முடியும். சுயேச்சை வேட்பாளராகப் போட்டியிடும் தினக்கூலித் தொழிலாளியும், கோடீஸ்வரப் பிரபுவும் போட்டியிட வாய்ப்புள்ள தேர்தல் முறையில், பணத்தை விநியோகித்து ஒருவர் வாக்குச் சேகரிப்பதை ஆணையம் எப்படி அனுமதிக்க முடியும்?

முறைகேடுகள் தடுக்கப்பட வேண்டும் என்பதற்காகத் தேர்தல் ஆணையம் விடியோ படமெடுக்கிறது. அப்படிப் படமெடுப்பவரைத் தடுப்பதும், தாக்குவதும் விவரம் இல்லாதவர்களாக இருந்தால் பரவாயில்லை. முறையாகத் தேர்தல் நடத்தப்படுவதில் அக்கறை காட்ட வேண்டிய மத்திய அமைச்சருடன் செல்பவர்கள் வட்டாட்சியரை மிரட்டுவதும், விடியோகிராபரைத் தாக்குவதுமாக இருந்தால், ஆணையம் கெடுபிடிகளை மேலும் அதிகரிப்பதில் என்ன தவறு?

மதுரை பாத்திமா கல்லூரியில் வாக்காளர் விழிப்புணர்வு நிகழ்ச்சியில், தேர்தல் ஆணையத்தால் நியமிக்கப்பட்ட மாவட்ட ஆட்சியர் உ. சகாயம் நல்ல சில கருத்துகளை மாணவர்களுக்குக் கூறுகிறார். ""நமது வாக்குகள் தமிழகத்தின் தலைவிதியை நிர்ணயிக்கும் சக்தி பெற்றவை. எல்லோரும் வாக்களிக்க வேண்டும் என்பதுதான் தேர்தல் ஆணையத்தின் குறிக்கோள். அதேசமயம், அன்பளிப்பு இல்லாத வாக்குப் பதிவு அவசியம். லஞ்சமில்லாத வாக்களிப்பு குறித்து மாணவ மாணவியர் தங்களது பெற்றோருக்கும், உற்றார் உறவினருக்கும் கைப்பேசி மூலம் "என்னுடைய வாக்கு விற்பனைக்கல்ல' எனும் வாசகத்தைக் குறுஞ்செய்தியாக அனுப்பி விழிப்புணர்வு ஏற்படுத்த வேண்டும்'' என்று பேசுகிறார்.

மாவட்ட ஆட்சியர் சகாயம் மீது வழக்குத் தொடர்ந்திருக்கிறார் தி.மு.க. அனுதாபி ஒருவர். வாகனங்களைச் சோதனையிடுகிறார்கள், எங்களது சுதந்திரம் தடைபடுகிறது என்று மற்றொருவர் வழக்குத் தொடுக்கிறார். மாவட்ட ஆட்சியர் என்னை மிரட்டுகிறார் என்கிறார் இன்னொருவர். மடியில் கனமிருந்தால்தானே வழியில் பயம்? என்று ஏன் யாரும் முதல்வரிடம் திருப்பிக் கேட்பதில்லை என்பதுதான் வியப்பாக இருக்கிறது.
காவல்துறை வாகனத்தில் பணம் கடத்தப்பட்டது கண்டுபிடிக்கப்பட்டுள்ளது. 108 ஆம்புலன்ஸில் பணம் கடத்தப்படுகிறது. இதையெல்லாம் ஆணையம் தட்டிக் கேட்டால் நெருக்கடி நிலைமை ஏற்பட்டிருப்பதாக முதல்வர் எரிச்சலடைகிறார். வாக்குகள் விலைபேசப்படாமல், வாக்காளர்கள் கவர்ச்சி வாக்குறுதிகளால் ஏமாற்றப்படாமல், முறையாகத் தேர்தல் நடத்தப்படுவதில் அக்கறை காட்ட வேண்டிய முதல்வர், தேர்தல் ஆணையம் நேர்மையாகச் செயல்படுவதை நெருக்கடி நிலைமை ஏற்பட்டிருப்பதாக வர்ணித்திருப்பது ஒருவகையில் நியாயம்தான்.

நெருக்கடியான நிலைமை ஏற்பட்டிருப்பது உண்மை. அது யாருக்கு என்பதுதான் கேள்வி...!