1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I'm having an HTML page index.html
    <td><a href="x.php3">blah</a></td>.

    I want to use a select statement in x.php3.
    for e.g.,
    select * from tablename where fieldname='blah';

    I want to pass blah from the index.html to x.php3.

    can anyone recommend me how do this.

    Thanks in Advance
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Rep Power
    <A HREF=x.php?action=blah>blah</A>


    select * from tablename where fieldname='$action';
  4. #3
  5. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Thank you Anti

    The code works fine.

Similar Threads

  1. Am I on the right track? Building a small CMS.
    By substrata in forum PHP Development
    Replies: 6
    Last Post: November 2nd, 2003, 10:00 PM
  2. Replies: 5
    Last Post: October 3rd, 2003, 12:21 AM
  3. Replies: 1
    Last Post: May 6th, 2003, 09:56 PM
  4. Need help getting a small intranet websiteworking
    By ashbournerfc in forum Beginner Programming
    Replies: 3
    Last Post: February 20th, 2003, 08:36 AM
  5. Let's Define Big/Enterprise vs. small to mid
    By Ted Striker in forum Dev Shed Lounge
    Replies: 26
    Last Post: October 30th, 2002, 04:36 PM

IMN logo majestic logo threadwatch logo seochat tools logo