SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 29 of 29
  1. #26
    SitePoint Member
    Join Date
    Sep 2011
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    $cid = (int)($_GET['cid']);
    $pid = (int)($_GET['pid']); 

    here problem is in this two codes how to get cid and pid without using these codes

  2. #27
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,496
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    The problem is not in those two lines. You can't get cid and pid without them.

  3. #28
    SitePoint Member
    Join Date
    Sep 2011
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Then why its not working and displaying an error according to the tutorial there is no such two codes but in his archive files..... How to SOLVE this?????

  4. #29
    SitePoint Member
    Join Date
    Sep 2011
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my problem is solved by myself
    PHP Code:
    $cid = (int)(isset($_GET['cid']));
    $pid = (int)(isset($_GET['pid'])); 
    used "isset"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •