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 7877531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:23:54+00:00 2026-06-03T03:23:54+00:00

i have an ajax / php feature of my site that pulls in information

  • 0

i have an ajax / php feature of my site that pulls in information from a table every 20 seconds. The information is about hobbie’s

It displays on the page the name of the person and their hobby. I have a second page that acts as an information source for that hobby. Currently the only way to access the second page is by entering your hobby into a form on the first page. How would i get it so that i could click on the hobby that is being displayed on the homepage and access an information page on the hobby.

To access the information it currently grabs the hobby from a POST command.

The table results are being displayed on the homepage via

echo $row['name']." is interested in ".$row['hobby'];

Could i some how pass the hobby name through to another page? I only know how to do it through form submits.

  • 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-06-03T03:23:55+00:00Added an answer on June 3, 2026 at 3:23 am

    I don’t think that sesssions are necessary for this.

    Look at what information your form is sending. If you’re making a GET request you can add that url to a link.

    So on your home page you could have links like the one below instead of forms.

    <a href="/hobbies/?name=remote+controlled+cars>Remote Controlled Cars</a>

    So with the link it would no longer be using $_POST but $_GET instead.

    Psudeo code for your homepage link below.
    <a href="/hobbies/?name=<?php echo slugify($row['hobby']); ?>><?php echo $row['hobby']; ?></a>

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

Sidebar

Related Questions

I have a table that generates perfectly using php, ajax and the tablesorter plugin.
I have a webpage that retrieves data (via ajax/php) and shows it in an
Assume that I have 2 .php files : index.php and ajax.php This is index.php:
I have a jquery-ajax function that sends data to a php script and the
I have this code that works well: {livre:empty_name} $.ajax({ url: sent.php, type: post, dataType:
I have a data table populated from a MySQL database via PHP. The first
I have a PHP script that produces a .CSV export file from a MySQL
I have a ajax.php file that contains the following sample code: switch($_REQUEST['request_name']) { case
I have a php / ajax / javascript form that I am trying to
Within my index.php file I have an AJAX function that will call a function

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.