i think this is simple...i was researching $_GET but i didn't find the solution to my question...

what i'm doing is trying to pass a variable via the URL...meaning...

...php?id=3 -> &aid=12 <- the "aid" part right here...

i've tried calling up $_GET but it doesn't work...do i HAVE to use a form or a submit or whatever to make this work? or will it just work via the url? is there another method i should be researching instead?

thanks for any thoughts...jv

    Should work fine assuming you have a variable $aid

      ok...i'll keep trying to figure out why i'm being so stupid...😉

      rock on angus...jv

        Could you show us the code you're using to process the information from the URL?

          i was using...

          <? $_GET['$aid']; ?>

          ?...thanks...jv

            Originally posted by vaska
            i was using...

            <? $_GET['$aid']; ?>

            ?...thanks...jv [/B]

            Ah, there's your problem; a rogue $

            <? $_GET['aid']; ?>

            One of those irritating errors that you can stare at for fifteen minutes before going "duh!".

              hey weedy...

              you'll be happy to know that i wear glasses when i drive my car too...:rolleyes:

              thanks...as always...jv

                Write a Reply...