Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pmorrison1985

    Sending 2 fields via a form

    Hi, I am trying to create an option to vote on a subject. I have created a form like so: <form method="get" action="place_vote.php"> <b> Please place your vote for this article<p> <input type="radio" name="vote" value="1"> 1 &nbsp&nbsp Worst <br /> <input type="radio" name="vote" value="2"> 2...
  2. pmorrison1985

    Going through a checkbox array

    Cheers mate, works a treat! BTW $user comes from a cookie.
  3. pmorrison1985

    Going through a checkbox array

    Basically, what I want to do is to send the value of each checked checkbox to stop_subscription. The value of the checkbox is set to the id of the article, so it should just send each item in the deletethis array to stop_subscription, but Im not too sure how to do this, and whether I am going...
  4. pmorrison1985

    Going through a checkbox array

    Hi, here is the code for the stop_subscription.php file <?php //article ID and link it to that user if( isset($_GET['id']) ){ $id = $_GET['id']; $query = "DELETE FROM inj_subscription WHERE member_id='$user' AND inj_id='$id' AND type IS NULL"; $result = mysql_query($query) or...
  5. pmorrison1985

    Going through a checkbox array

    Hi, On my site, in order for a member to unsubscribe from an article, they go to the'Unsubscribe' page where they get a table of all of the articles that they are subscribed to. There is a table with each article, and a checkbox next to each article. For each checked checkbox it should send the...
  6. pmorrison1985

    Going through a checkbox array

    Hi Dan, I have now taken out the Javascript and am attempting to just submit the form but I am having problems doing this, I just get redirected to my stop_subscriptions page but nothing happens! Here is what I have now: <form method="post" action="stop_subscription.php"> <?php // Make table...
  7. pmorrison1985

    Going through a checkbox array

    Hi, I am new to Javascript and am having a bit of difficulty. On my site, in order for a member to unsubscribe from an article, they go to the'Unsubscribe' page where they get a table of all of the articles that they are subscribed to. There is a table with each article, and a checkbox next...

Part and Inventory Search

Back
Top