Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Using just ‘?’

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26194
    Cabbage Song
    Member

    Hey all, I was wondering how one gets PHP pages using $_GET working with just the question mark, e.g.

    And I’ve got this page to test it:

    Code:

    And when I add the "?article1" to the URL it just echoes "Array", but when I don’t it just says "no dice".

    Any suggestions?

    #64518
    Makeshift
    Member

    you need to set it equal to something..

    and to display what article is equal to, you need…

    Code:
    #64520
    Cabbage Song
    Member

    Oh. Well, that’s a let down. Thanks for taking the time anyways.

    #64524
    Makeshift
    Member

    well, this is just to the best of my knowledge.. there probably is a way to do what you’re trying to do..

    since it’s an Array, you can try

    Code:
    print_r ($_GET);
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.