verosb

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Free JQuery Grid #98916
    verosb
    Participant

    i know PHP but i don

    in reply to: Free JQuery Grid #98913
    verosb
    Participant

    Do you know something base code for help me? Thanks again!

    in reply to: Free JQuery Grid #98911
    verosb
    Participant

    Thank you for your help, how can I load information of a database MySQL with this script? I am totally new in the topic and am very lost in the matter.

    in reply to: Input Mask jqGrid + PHP #98898
    verosb
    Participant

    The code of my jqgrid “grid.php” is:

    CODE:

    <?php
    require_once '../../../jq-config.php';
    // include the jqGrid Class
    require_once ABSPATH.”php/jqGrid.php”;
    // include the driver class
    require_once ABSPATH.”php/jqGridPdo.php”;
    // Connection to the server
    $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD);
    // Tell the db that we use utf-8
    //$conn->query(“SET NAMES utf8”);

    // Create the jqGrid instance
    $grid = new jqGridRender($conn);
    // Write the SQL Query
    $grid->SelectCommand = 'SELECT coddelegacion, descdelegacion, domiciliodelegacion, poblaciondelegacion, codpostaldelegacion, provinciadelegacion, telefonodelegacion, faxdelegacion, emaildelegacion FROM gestdelegaciones001';
    // Set the table to where you add the data
    $grid->table = 'gestdelegaciones001';
    $grid->setPrimaryKeyId('coddelegacion');
    $grid->serialKey = false;
    // Set output format to json
    $grid->dataType = 'json';

    //Validacion
    $checkTelefono = <<<CHECKER
    function checkTel(value, colname) {
    if (value.length==9)
    return [true,””];
    else
    return [false,”El tel

Viewing 4 replies - 1 through 4 (of 4 total)

Stay connected with us in your favorite flavor!