SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    730
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    $_GET not working?

    I don't understand why the $_GET["source0"] isn't picking up:
    type=forforum&no=0&source0=tr&btitle0=Matthew&checkresult0=1
    PHP Code:
    $source=isset($_GET["source".$no]) ? $_GET["source".$no] : "";
    $sourceAbb=Array("kjv""mt""mtnv""tr");
    $SourceName=Array("King James""Masoretic Text""Masoretic No Vowels""Textus Receptus");
    $SourceTable=Array($dbTable3$dbTable7$dbTable9$dbTable8);
    echo 
    ">>>".$source."<<<";//shows empty 
    edit:
    silly me I forgot to define the $no
    Compare bible texts (and other tools):
    TheWheelofGod

  2. #2
    SitePoint Member
    Join Date
    Nov 2009
    Location
    North Carolina
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good to see you figured it out. It's always nice when you can find your own bugs!
    If I have been of help to you please consider making a
    donation for my time via PayPal here.
    Get a GREAT domain for under $20 each day via my
    STEAL of the DAY page.


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
  •