#1
  1. No Profile Picture
    raghuram
    Guest
    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
    Raghu.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

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

    then

    select * from tablename where fieldname='$action';
  4. #3
  5. No Profile Picture
    raghuram
    Guest
    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, 09:00 PM
  2. Replies: 5
    Last Post: October 2nd, 2003, 11:21 PM
  3. Replies: 1
    Last Post: May 6th, 2003, 08:56 PM
  4. Need help getting a small intranet websiteworking
    By ashbournerfc in forum Beginner Programming
    Replies: 3
    Last Post: February 20th, 2003, 07: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, 03:36 PM

IMN logo majestic logo threadwatch logo seochat tools logo