Results 1 to 4 of 4

Thread: how to get variable?[RESOLVED w/o even replies]

  1. #1

    Thread Starter
    Fanatic Member noielen's Avatar
    Join Date
    Nov 2005
    Location
    Cebu, Phil.
    Posts
    680

    how to get variable?[RESOLVED w/o even replies]

    i'm newbie in php,

    ex. "http://localhost/sample/index.php?action=aboutus"

    how can i get the variable action?

    in ASP i do it like this StrAction = Response.QueryString("action")

    but how in PHP??

    any help really appreciated... thanks in advance
    Last edited by noielen; Apr 2nd, 2006 at 11:40 PM.
    noister
    <advertising link removed by moderator>

  2. #2

    Thread Starter
    Fanatic Member noielen's Avatar
    Join Date
    Nov 2005
    Location
    Cebu, Phil.
    Posts
    680

    Re: how to get variable?

    i mean data on a given variable...
    noister
    <advertising link removed by moderator>

  3. #3

    Thread Starter
    Fanatic Member noielen's Avatar
    Join Date
    Nov 2005
    Location
    Cebu, Phil.
    Posts
    680

    Re: how to get variable?

    This is TRUE VBForum...
    noister
    <advertising link removed by moderator>

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: how to get variable?[RESOLVED w/o even replies]

    $_GET['action']

    And please don't bump so quickly, these forums are little slower traffic than the main ones

Posting Permissions

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



Click Here to Expand Forum to Full Width