Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 681875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:31:54+00:00 2026-05-14T01:31:54+00:00

I recently made this wordpress blog, where you can sign up a team for

  • 0

I recently made this wordpress blog, where you can sign up a team for an event, when clicking a link under the event post. This link takes you to a sign-up form on another php-page. The link is added in the loop of the events-template like this:

<?php query_posts('cat=8');?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

        <div class="post" id="post-<?php the_ID(); ?>">

        <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
        <div id="tilmeldknap"><?php wp_list_pages("title_li=&depth=1&include=63"); ?></div>
        <?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>...

So every upcoming event will have the same sign-up button.
All I need now is to somehow send the specific event-post-title along to the sign-page, so that the following form-submit action will contain that title aswell. But since I’m not very good at php it seems like a mystery, altho I bet it’s very simple!

I’m guessing it’s something like:

$event=$_POST['single_post_title()']

But how to get the value to the next php-page I have no idea… please help, anyone 🙂

An eksample can be seen throught this link: http://gadebold.dk/events/
The link sais: ‘Tilmeld Hold’

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T01:31:54+00:00Added an answer on May 14, 2026 at 1:31 am

    If you are using a form, which I am assuming that you are, you can use hidden fields..

    <!-- assuming you are using page slugs -->
    <form method='post' action='<?php echo site_url('\sign-up\')?>'>
    <input type='hidden' name='post_title' value='<?php echo single_post_title() ?>'>
    ....<!-- rest of form -->
    </form>
    

    And at the receiving page,

    <?php
    
      $post_title = $_POST['post_title'];
    
     ?>
    

    If you are not using a button, you can embed the page title in the URL and send using $_GET

    <a href='<?php echo site_url('\sign_up\').'?title='.single_post_title()?>'>Register</a>
    
     ....
    $post_title = $_GET['post_title'];
    

    As a side-note, the Pods CMS is a great plugin for doing systems like this, and may help to reduce development time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently made a toy programming language using C, Bison, Flex, and this post
I recently made this simple navigation where you have a couple links that have
Hi I have recently made this script to rename files I scan for work
I recently upgraded to the latest version of XCode, but apps made with this
I recently made a very simple practice program in Python, that takes user input
I recently made the change from Dreamweaver to NetBeans and noticed this IDE doesn't
I recently made a Google Apps Script that runs onSubmit of a Google form.
Ok. I recently made some updates to this website. http://annberingerart.com/index.php Upon making some minor
I recently worked on app which got crashed. I made this app by using
I recently made a website built over WordPress and in IE 8/9 I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.