pr0

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Problem getting $limit value on PHP file #86531
    pr0
    Participant

    Fixed! omg small error are the more difficult. I have mtype: POST at grid config and my PHP file use $_GET method haha

    Thx all, regards.

    in reply to: Problem getting $limit value on PHP file #86527
    pr0
    Participant

    Its really neccesary post all PHP code?

    At top of my file i have:

    $page = $_GET['page']; // get the requested page
    $limit = $_GET['rows']; // get how many rows we want to have into the grid
    echo “limit: “.$limit;
    $sidx = $_GET['sidx']; // get index row – i.e. user click to sort
    $sord = $_GET['sord']; // get the direction

    rest of code here…

    i printed $limit var and i get a empty value.

    EDIT:

    I tested all grid vars ($page, $limit, $sidx, $sord) and all post empty values at PHP file.

    My actual PHP file is:

    $page = $_GET['page'];
    echo “page: “.$page;
    $limit = $_GET['rows'];
    echo “limit: “.$limit;
    $sidx = $_GET['sidx'];
    echo “sidx: “.$sidx;
    $sord = $_GET['sord'];
    echo “sord: “.$sord;

    Regards

    in reply to: Please help with link columns #86132
    pr0
    Participant

    Hi tony,

    your example works fine but i get this link:

    /index.phpshow?id=21&option=index

    why show word appear?

    Thxs again!

    in reply to: Please help with link columns #86100
    pr0
    Participant

    Thx you Vencedor for ur help but im getting constantly the following error at firebug:

    invalid property id

    This is my code line:

    {name:'oferta',index:'oferta', width:65, formatter: 'link', showlink:{'index.php?option=index&id=',showAction: 'show'}, …..

    Thx you in advance

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

Stay connected with us in your favorite flavor!