Search blog.co.uk

  • Passing form variables to php function

    1). Passing Form variables to a function:

    function filled_out_pass($form_vars)
    {
    // test that each variable has a value
    foreach ($form_vars as $key => $value)
    {
    if (!isset($key) ¦¦ ($value == ''))
    return false;
    }
    return true;
    }

    2). Storing Form Variables in an Array:







  • Transferring data through URL

    Method 1:
    http://www.plus2net.com/php_tutorial/variables2.php

    Method 2:

    You can use this method also to transfer product id to cart page

    <td><a href="cart.php?ProductId=<?php echo $row[ProductId]; ?>">Add Item</a></td>

    Then on cart.php page you can get ProductId using $_REQUEST['ProductId'] variable and further run a database query using this id for other fields from table.

  • Conceptual basis of Terrorism in Pakistan

    There are many in Pakistan such as Imran Khan(Tehreek Insaaf), Maulana Fazl-ur-Rahman(JUI-F) and Jamat Islmai are justifying activities of Taliban on the basis of American presence and Pakistan's support of american war on terror.

    I ask all Pakistanis and muslims, whether attacks on Pakistan army, police and forceful subjugation of Pakistan's people is justifiable in the version of Islam being followed by sympathizers of Taliban ?

    I want to ask Imran and Fazl-ur-Rahman whether they support killing of our army , police, and civilians in all these horrific attacks. It is strange that we never see forceful condemnation of terrorist attacks from Imran Khan and other such leaders. These people are working on politically facilitating Taliban in their designs. They are foreign agents, who want to ease internal collapse by creating political and religious confusion or in other words ideological confusion.

    It is the time that we forcefully confront people who are creating ideological confusion. These people must be made to shut up and should be totally isolated.

  • American Weapons and Extremism

    I must start today by praising Pakistan army. They have done really well against extremist insurgents in Swat and Malakand. The extremist insurgents are extremely well armed, they have capabilities to destroy tanks, and many tanks have been destroyed. They have been trying to shoot down helicoptors and aeroplanes. They have huge quantities of weapons and endless access to manpower and ammunition.

    However one thing that America and its allies must answer is why Pakistani Taliban have American weapons and ammunition ? American congress, media, public and Pakistani people and their government have a right to know why extremists in Pakistan have access to endless supply of american weapons and ammunition. It has also been well known that extremist have access to high tech intelligence on movement of Pakistani troops ?

    On the other hand, Pakistan is being forced to commit large number of troops while being denied modern weapons such as helicopters, fighter planes, night vision equipment and even bullet proof jackets. Why ? Is this a scheme to have Pakistan army defeated at the hands of so called extremists ?

    What I have said here is public knowledge in Peshawar, Pakistan. If you talk to people from insurgency hit areas and ask them about what sort of weapons Pakistani Taliban's have. They would tell you that Talibans have most modern guns and other kinds of equipments whose origin is American ? Now Americans will obviously claim that Afghan army must have sold weapons given to them or some of these weapons have been looted in Pakistan during various attacks on supply trucks and so on. But obviously this is not the whole truth ?

    The American congress, media and its people must find out who is funding extremists in Pakistan and why ?

    The truth is that extremism is an imperialist tool to destabilize Pakistan in order to impose another imperialist geopolitical order and to de-nuclearize a muslim country.

  • Refugee Crisis in Swat

    Whenever there is natural or man made calamity, there are large number of refugees. A problem accompanying is determining needs of these people and effectively managing these needs. Now , there is usually a lot of corruption and mismanagement involved in the whole process. This results in wastage of donor money and further suffering for the affected people.

    Main problems in managing a refugee crisis are :

    1). Collecting and sharing statistics on refugees.

    2). Collecting and sharing information on aid being distributed to the refugees by various agencies.

    3). Determining the needs of the refugees in real time, and sharing this information with the relief organizations to help in planning and effective execution.

    4). Sharing information about steps taken by relief agencies to avoid duplication of effort and thus to use available resources in the optimal manner.

    5). Sharing all the information with public and governments to ensure effective response.

    6). All the agencies should use common platform for collecting statistics and sharing high level information.

http://www.blogcatalog.com/directory/personal

Footer:

The content of this website belongs to a private person, blog.co.uk is not responsible for the content of this website.