Volunteer Sign Up

Volunteer Sign Up
April 15, 2014 Super User

id; if ($userid !=0 ) { mysql_connect(“localhost”, “hoylakev_joomuse”, “vts4559h4”) or die(mysql_error()); mysql_select_db(“hoylakev_joomsite”) or die(mysql_error()); $query_string = “SELECT id FROM pq27i_volunteers_volunteers where userid = $userid”; $result = mysql_query($query_string) or die(mysql_error()); $volid = 0; while($row = mysql_fetch_array($result)) { $volid = $row[‘id’]; } if ($volid != 0){ $url_endpoint = ‘edit-membership/volunteer/edit/’ . $volid . ‘.html’; header(‘Location: http://www.hoylakevillage.org.uk/’ . $url_endpoint); } } ?>

{rsform 3}

0 Comments

Leave a reply

Your email address will not be published. Required fields are marked *

*