SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    ********* Genius Mike's Avatar
    Join Date
    Apr 2001
    Location
    Canada
    Posts
    5,458
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    difference between index.php?a= and index.php?a

    Hey, I was wondering if there was a difference between index.php?a= and index.php?a

    I was just going to check if the variable was empty, or if it had value, and was wondering if someone typed it in without the equals sign (=) would it return a value of empty or not set?

    Thanks
    Mike
    It's not who I am underneath, but what I do that defines me.

  2. #2
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    file.php?a= would set the value of the GET variable a to string(0) "". file.php?a would set the value of the same variable to NULL.


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
  •