Results 1 to 7 of 7

Thread: The $_GET variable

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2009
    Posts
    6

    Default

    I think it work ok, but in my opinion this is not really a good way.
    If i were you, I will use POST method to avoid posting variable to address
    Btw, you should print some thing when there is no username match $_GET['username'], kind da like: User name ABC not found or st :)

  2. #2
    Join Date
    Sep 2009
    Posts
    4

    Default

    what is '%s' ?

  3. #3
    Join Date
    Nov 2009
    Posts
    7

    Default

    Quote Originally Posted by topsitex View Post
    what is '%s' ?
    joining the question .

  4. #4
    Join Date
    Feb 2010
    Posts
    6

    Default

    yes what is '%s' ;

  5. #5
    Join Date
    Jan 2008
    Posts
    2

    Default

    No i dont thinks so...
    %s?! you mine:
    printf("<a href='secondpage.php?username="".$row['username'].""'>".$row['username']."</a>"."<br/>");

    get the info by _POST

  6. #6
    Join Date
    Jul 2011
    Posts
    5

    Default

    i love PHP:grin::grin::grin: its lots of fun and really cool.

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
  •