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    Worst
<br />
<input type="radio" name="vote" value="2"> 2...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.